C/C++ Programmer's Guide (G06.25+)
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
C-1
C ASCII Character Set
ASCII Character Set in Numerical Order on page C-1
ASCII Character Set in Alphabetical Order on page C-6
Overview
The two tables of the ASCII character set contained in this appendix use the following
column headings:
Table C-1 is in numerical order, and Table C-2 is in alphabetical order.
ASCII Character Set in Numerical Order
Table C-1 presents the ASCII character set in numerical order; that is, these columns
are in numerical order:
•
Ord. (the character’s ordinal number in the ASCII character set)
•
Octal (the character’s octal representation)
•
Hex. (the character’s hexadecimal representation)
•
Dec. (the character’s decimal representation)
If you know one of the above values for the character you want to look up, use
Table C-1. If you know only the character code or the character itself (such as “NUL” or
“A”), use Table C-2 on page C-6 instead.
Ord. Character’s ordinal number in the ASCII character set
Octal Character’s octal representation (with left and right bytes)
Hex. Character’s hexadecimal representation
Dec. Character’s decimal representation
Char Character code or character itself (such as “NUL” or “A”)
Meaning Meaning of character code (such as “Null” or “Uppercase A”)
Table C-1. ASCII Character Set in Numerical Order (page 1 of 5)
1 000000 000000 00 0 NUL Null
2 000400 000001 01 1 SOH Start of heading
3 001000 000002 02 2 STX Start of text
4 001400 000003 03 3 ETX End of text
5 002000 000004 04 4 EOT End of transmission
6 002400 000005 05 5 ENQ Enquiry
7 003000 000006 06 6 ACK Acknowledge
8 003400 000007 07 7 BEL Bell
9 004000 000010 08 8 BS Backspace