American
Standard Code for Information Interchange
Here is the ASCII
Encoding, a correspondence of keyboard characters with integers from 0
to 127 (0x7F in hexadecimal, 0177 in octal)
char |
hex |
oct |
|
char |
hex |
oct |
|
char |
hex |
oct |
|
char |
hex |
oct |
NUL |
00 |
000 |
|
SP |
20 |
040 |
|
@ |
40 |
100 |
|
` |
60 |
140 |
SOH |
01 |
001 |
|
! |
21 |
041 |
|
A |
41 |
101 |
|
a |
61 |
141 |
STX |
02 |
002 |
|
" |
22 |
042 |
|
B |
42 |
102 |
|
b |
62 |
142 |
ETX |
03 |
003 |
|
# |
23 |
043 |
|
C |
43 |
103 |
|
c |
63 |
143 |
EOT |
04 |
004 |
|
$ |
24 |
044 |
|
D |
44 |
104 |
|
d |
64 |
144 |
ENQ |
05 |
005 |
|
% |
25 |
045 |
|
E |
45 |
105 |
|
e |
65 |
145 |
ACK |
06 |
006 |
|
& |
26 |
046 |
|
F |
46 |
106 |
|
f |
66 |
146 |
BEL |
07 |
007 |
|
' |
27 |
047 |
|
G |
47 |
107 |
|
g |
67 |
147 |
BS |
08 |
010 |
|
( |
28 |
050 |
|
H |
48 |
110 |
|
h |
68 |
150 |
HT |
09 |
011 |
|
) |
29 |
051 |
|
I |
49 |
111 |
|
i |
69 |
151 |
NL/LF |
0A |
012 |
|
* |
2A |
052 |
|
J |
4A |
112 |
|
j |
6A |
152 |
VT |
0B |
013 |
|
+ |
2B |
053 |
|
K |
4B |
113 |
|
k |
6B |
153 |
NP/FF |
0C |
014 |
|
, |
2C |
054 |
|
L |
4C |
114 |
|
l |
6C |
154 |
CR |
0D |
015 |
|
- |
2D |
055 |
|
M |
4D |
115 |
|
m |
6D |
155 |
SO |
0E |
016 |
|
. |
2E |
056 |
|
N |
4E |
116 |
|
n |
6E |
156 |
SI |
0F |
017 |
|
/ |
2F |
057 |
|
O |
4F |
117 |
|
o |
6F |
157 |
DLE |
10 |
020 |
|
0 |
30 |
060 |
|
P |
50 |
120 |
|
p |
70 |
160 |
DC1 |
11 |
021 |
|
1 |
31 |
061 |
|
Q |
51 |
121 |
|
q |
71 |
161 |
DC2 |
12 |
022 |
|
2 |
32 |
062 |
|
R |
52 |
122 |
|
r |
72 |
162 |
DC3 |
13 |
023 |
|
3 |
33 |
063 |
|
S |
53 |
123 |
|
s |
73 |
163 |
DC4 |
14 |
024 |
|
4 |
34 |
064 |
|
T |
54 |
124 |
|
t |
74 |
164 |
NAK |
15 |
025 |
|
5 |
35 |
065 |
|
U |
55 |
125 |
|
u |
75 |
165 |
SYN |
16 |
026 |
|
6 |
36 |
066 |
|
V |
56 |
126 |
|
v |
76 |
166 |
ETB |
17 |
027 |
|
7 |
37 |
067 |
|
W |
57 |
127 |
|
w |
77 |
167 |
CAN |
18 |
030 |
|
8 |
38 |
070 |
|
X |
58 |
130 |
|
x |
78 |
170 |
EM |
19 |
031 |
|
9 |
39 |
071 |
|
Y |
59 |
131 |
|
y |
79 |
171 |
SUB |
1A |
032 |
|
: |
3A |
072 |
|
Z |
5A |
132 |
|
z |
7A |
172 |
ESC |
1B |
033 |
|
; |
3B |
073 |
|
[ |
5B |
133 |
|
{ |
7B |
173 |
FS |
1C |
034 |
|
< |
3C |
074 |
|
\ |
5C |
134 |
|
| |
7C |
174 |
GS |
1D |
035 |
|
= |
3D |
075 |
|
] |
5D |
135 |
|
} |
7D |
175 |
RS |
1E |
036 |
|
> |
3E |
076 |
|
^ |
5E |
136 |
|
~ |
7E |
176 |
VS |
1F |
037 |
|
? |
3F |
077 |
|
_ |
5F |
137 |
|
DEL |
7F |
177 |