The first is to encode a syntactic entity, such as device commands or special data, which cannot be directly represented by the alphabet. The second use, referred to as character quoting, is to represent characters, which cannot be typed in the current context, or would have an undesired interpretation. In the latter case, an escape sequence is a digraph consisting of an escape character itself and a "quoted" character.