About ESC


Integer ASCII code: 27
Binary code: 0001 1011
Octal code: 33
Hexadecimal code: 1B
Group: control
Seq: ^[

Unicode symbol: , int code: 9243 (html &#9243) hex code: 241B (html &#x241B)


Information


Pressing the Escape key on the keyboard will make this character to be sent on most systems. It can be used in software user interfaces in the function of the exit from a screen, menu, or operating mode, or in device-control protocols (like printers and terminals). In this function it lets the person know, that what comes next is a special command sequence rather than normal text. It doesn't matter if systems based on ISO/IEC 2022 use another set of C0 control codes. This octet is necessarily required to always represent the escape character.

The escape character is widely used in computing and telecommunication. In this role an escape character is a character, which applies to a different interpretation on subsequent characters in a character sequence. In context of escape character we can talk about metacharacters. It's believed that escape can be called a kind if metacharacter. In most cases, the judgment of whether something is an escape character or not depends on context.

Definition


All escape sequences strictly have at least two characters just because an escape character may not have its own meaning.

Escape characters make a part of the syntax for lots of programming languages, data formats, and communication protocols. If we're talking about a given alphabet, here an escape character's aim is to start character sequences (so called escape sequences). The things is that they have to be interpreted in a different way from the same characters appeared without the prefixed escape character.

Commonly escape sequences have two functions. The first one is to encode a syntactic realia, for example device commands or special data, which can't be represented by the alphabet itself in the clear form. The second function (by the way, it is called character quoting) is to reflect characters, typing of which is impossible in current context, or would have an adverse, wrong interpretation. In the latter case an escape sequence is represented by a digraph, which consists of an escape character itself and a "quoted" character.

Control character


Usually an escape character is neither a special case of (device) control characters, nor vice versa. Imagine, that we determine control characters to be non-graphic, or as possessing a particular meaning for an output device (like printer or text terminal). This way, any escape character for this device is a control one, which is quite ambiguous, since escape characters used in programming (such as the backslash, '\') are graphic characters, deprived of any control function. On the contrary, most (but not all) of the ASCII "control characters" have some concealed control function, therefore are not escape characters.

Besides, an escape character forms some escape sequences in lots of programming languages. All of them are connected to control characters. For example, line break has an escape sequence of .


Hash


MD5 Escape

input value base output hash
ESC char F616C83F2F0F188265C7004D81D45723
27 dec 02E74F10E0327AD868D138F2B4FDD6F0
00011011 bin 78BAF048FE4C5BFFA0242D6C1C844418
0001 1011 bin 557138E03B700AA016D1EC5E1E288054
33 oct 182BE0C5CDCD5072BB1864CDEE4D3D6E
1B hex AEAF67915B97D360E4D26F0659DD9B2A
0x1B hex C47A704C5AAE67EF92124AD2BCB7FF76

SHA256 Escape

input value base output hash
ESC char 77ADFC95029E73B173F60E556F915B0CD8850848111358B1C370FB7C154E61FD
27 dec 670671CD97404156226E507973F2AB8330D3022CA96E0C93BDBDB320C41ADCAF
00011011 bin 34361770EA4C68D05B11C7B33199E7A61FA7B7F10353C8E0AE02A919F350E4EE
0001 1011 bin E800FF44E64CC74AB37056650FAF7A1BFC50687B1016EFE0712554A1EDAE0318
33 oct C6F3AC57944A531490CD39902D0F777715FD005EFAC9A30622D5F5205E7F6894
1B hex E33CD81B67CC4FB2B186C131DCCFE8D917326D2D388960B46D0C80866E753266
0x1B hex E0FA1B9DC6D4178E4CA7B12D62FD89231665D0D62BEA5F6E087C6EDEC6BEBFFF

Base64 Escape

input value base output hash
ESC char Gw==
27 dec Mjc=
00011011 bin MDAwMTEwMTE=
0001 1011 bin MDAwMSAxMDEx
33 oct MzM=
1B hex MUI=
0x1B hex MHgxQg==
Back to ASCII table

 2018-2024 © Dmytro Koshovyi. Ukraine, Mykolayiv.