CeDeT: OUR (Often Used Reference) #2

ASCII Characters

ASCII Character Set
The ASCII character set defines 128 characters (0 to 127 decimal, 0 to 7f hexadecimal, and 0 to 177 octal). This character set is a subset of many other character sets, including the ANSI Character Set of MS Windows, the Roman-8 Character Set of HP systems, and the IBM PC Extended Character Set of DOS, and the ISO Latin-1 character set used by Web browsers.

They are not the same as the EBCDIC character set used on IBM mainframes.

You may want to take a look at AsciiTable.com!

The Control Characters

The first 32 values are non-printing control characters, such as Return and Line Feed.

In the old days you generated these characters on the keyboard by holding down the Control key while you striking another key. For example, Bell is value 7, Control+G, often shown in documents as ^G. Notice that 7 is 64 less than the ASCII-value of G (71); the Control key subtracts 64 from the value of the keys that it modifies.

Control Characters

CharOctDecHexControl-KeyControl Action
NUL000000^@Null character
SOH001101^AStart of heading, = console interrupt
STX002202^BStart of text, maintenance mode on HP console
ETX003303^CEnd of text
EOT004404^DEnd of transmission, not the same as ETB
ENQ005505^EEnquiry, goes with ACK; old HP flow control
ACK006606^FAcknowledge, clears ENQ logon hand
BEL007707^GBell, rings the bell...
BS010808^HBackspace, works on HP terminals/computers
HT011909^IHorizontal tab, move to next tab stop
LF012100a^JLine Feed
VT013110b^KVertical tab
FF014120c^LForm Feed, page eject
CR015130d^MCarriage Return
SO016140e^NShift Out, alternate character set
SI017150f^OShift In, resume defaultn character set
DLE0201610^PData link escape
DC10211711^QXON, with XOFF to pause listings; "okay to send".
DC20221812^RDevice control 2, block-mode flow control
DC30231913^SXOFF, with XON is TERM=18 flow control
DC40242014^TDevice control 4
NAK0252115^UNegative acknowledge
SYN0262216^VSynchronous idle
ETB0272317^WEnd transmission block, not the same as EOT
CAN0302417^XCancel line, MPE echoes !!!
EM0312519^YEnd of medium, Control-Y interrupt
ESC033271b^[Escape, next character is not echoed
FS034281c^\File separator
GS035291d^]Group separator
RS036301e^^Record separator, block-mode terminator
US037311f^_Unit separator

The Printing Characters

The remaining characters are printing characters.

You should find these characters on your everyday keyboard.

Printing Characters

!0413321Exclamation mark
"0423422Quotation mark (" in HTML)
#0433523Cross hatch (number sign)
$0443624Dollar sign
%0453725Percent sign
`0473927Closing single quote (apostrophe)
(0504028Opening parentheses
)0514129Closing parentheses
*052422aAsterisk (star, multiply)
-055452dHyphen, dash, minus
/057472fSlant (forward slash, divide)
<074603cLess than sign (&lt; in HTML)
=075613dEquals sign
>076623eGreater than sign (&gt; in HTML)
?077633fQuestion mark
A1016541Uppercase A
B1026642Uppercase B
C1036743Uppercase C
D1046844Uppercase D
E1056945Uppercase E
F1067046Uppercase F
G1077147Uppercase G
H1107248Uppercase H
I1117349Uppercase I
J112744aUppercase J
K113754bUppercase K
L114764cUppercase L
M115774dUppercase M
N116784eUppercase N
O117794fUppercase O
P1208050Uppercase P
Q1218151Uppercase Q
R1228252Uppercase R
S1238353Uppercase S
T1248454Uppercase T
U1258555Uppercase U
V1268656Uppercase V
W1278757Uppercase W
X1308858Uppercase X
Y1318959Uppercase Y
Z132905aUppercase Z
[133915bOpening square bracket
\134925cReverse slant (Backslash)
]135935dClosing square bracket
^136945eCaret (Circumflex)
`1409660Opening single quote
a1419761Lowercase a
b1429862Lowercase b
c1439963Lowercase c
d14410064Lowercase d
e14510165Lowercase e
f14610266Lowercase f
g14710367Lowercase g
h15010468Lowercase h
i15110569Lowercase i
j1521066aLowercase j
k1531076bLowercase k
l1541086cLowercase l
m1551096dLowercase m
n1561106eLowercase n
o1571116fLowercase o
p16011270Lowercase p
q16111371Lowercase q
r16211472Lowercase r
s16311573Lowercase s
t16411674Lowercase t
u16511775Lowercase u
v16611876Lowercase v
w16711977Lowercase w
x17012078Lowercase x
y17112179Lowercase y
z1721227aLowercase z
{1731237bOpening curly brace
|1741247cVertical line
}1751257dCloing curly brace
~1761267eTilde (approximate)
DEL1771277fDelete (rubout), cross-hatch box


A Picture: