ASCII

From Library
Jump to navigation Jump to search


Usage

Control characters

0x00 | 000 | @ | \0 | OT | ␀ | NULL
Commonly entered with CTRL-SPACE

0x01 | 001 | A |    | TC | ␁ | SOH
Start Of Heading
0x02 | 002 | B |    | TC | ␂ | STX
Start of TeXt
0x03 | 003 | C |    | TC | ␃ | ETX
End of TeXt
Used to end strings in some languages, such as for labels in HP-GL

0x04 | 004 | D |    | TC | ␄ | EOT
End Of Transmission

0x05 | 005 | E |    | TC | ␅ | ENQ
Enquire
Used for ‘Enquire/Acknowledge’ handshake mode of RS-232C
0x06 | 006 | F |    | TC | ␆ | ACK
Acknowledge
0x07 | 007 | G | \a | OT | ␇ | Bell
Bell (audible or visual attention indicator)

0x08 | 008 | H | \b | FE | ␈ | BS
BackSpace
0x09 | 009 | I | \t | FE | ␉ | HT
Horizontal Tab
sometimes used as a reverse half-space (i.e. half-backspace)
0x0A | 010 | J | \n | FE | ␊ | LF
Line Feed
Sometimes used as an ‘echo terminate’ character
0x0B | 011 | K | \v | FE | ␋ | VT
Vertical Tab
sometimes used as an ‘inverse line feed’
0x0C | 012 | L | \f | FE | ␌ | FF
Form Feed
0x0D | 013 | M | \r | FE | ␍ | CR
Carriage Return

0x0E | 014 | N |    | LS | ␎ | SO
Shift Out
Sometimes used to select an alternate character set
0x0F | 015 | O |    | LS | ␏ | SI
Shift In
Sometimes used to select the standard character set
0x10 | 016 | P |    | TC | ␐ | DLE
Data Link Enable

0x11 | 017 | Q |    | DC | ␑ | DC1
Device Control One
Xon trigger’ in many ‘Xon/Xoff’ handshaking schemes
0x12 | 018 | R |    | DC | ␒ | DC2
DC1 and DC2 generally involve activating a device
0x13 | 019 | S |    | DC | ␓ | DC3
‘Immediate response’ string for some handshaking schemes; ‘Xoff trigger’ in others
0x14 | 020 | T |    | DC | ␔ | DC4
DC3 and DC4 generally involve pausing or turning off a device

0x15 | 021 | U |    | TC | ␕ | NAK
Negative AcKnowledge

0x16 | 022 | V |    | TC | ␖ | SYN
SYNchronous idle
0x17 | 023 | W |    | TC | ␗ | ETB
End of Transmission Block
0x18 | 024 | X |    | OT | ␘ | CAN
CANcel
0x19 | 025 | Y |    | OT | ␙ | EM
End of Medium
0x1A | 026 | Z |    | OT | ␚ | SUB
SUBstitute
Often used as an End of file indicator
Sometimes used as a data padding character

0x1B | 027 | [ | \e | OT | ␛ | ESC
Escape

0x1C | 028 | \ |    | IS | ␜ | FS
File Separator
0x1D | 029 | ] |    | IS | ␝ | GS
Group Separator
0x1E | 030 | ^ |    | IS | ␞ | RS
Record Separator
0x1F | 031 | _ |    | IS | ␟ | US
Unit Separator

0x20 | 032 |   |    | FE | ␠ | SP
SPace
Not ‘technically’ a control character, but it is non-printing in much the same was as HT

0x7F | 127 | ? |    | FE | ␡ | DEL
DELete

Printable characters

0x?? | 033 | !
0x?? | 063 | ?
Unicode replacement character (U+FFFD)
Open box; graphic for space
␢
Blank symbol
Newline
Delete form two (‘undoable’ delete; ISO 9995-7)
Substitute form two (ISO 2047)


References

See also