ASCII 码表 ASCII Table 整理

控制字符(Control Characters) Char
Octal
Dec
Hex
Control-Key
Description
NUL
0
0
0
^@
Null character
SOH
1
1
1
^A
Start of heading, = console interrupt
STX
2
2
2
^B
Start of text, maintenance mode on HP console
ETX
3
3
3
^C
End of text
EOT
4
4
4
^D
End of transmission, not the same as ETB
ENQ
5
5
5
^E
Enquiry, goes with ACK; old HP flow control
ACK
6
6
6
^F
Acknowledge, clears ENQ logon hand
BEL
7
7
7
^G
Bell, rings the bell...
BS
10
8
8
^H
Backspace, works on HP terminals/computers
HT
11
9
9
^I
Horizontal tab, move to next tab stop
LF
12
10
a
^J
Line Feed
VT
13
11
b
^K
Vertical tab
FF
14
12
c
^L
Form Feed, page eject
CR
15
13
d
^M
Carriage Return
SO
16
14
e
^N
Shift Out, alternate character set
SI
17
15
f
^O
Shift In, resume defaultn character set
DLE
20
16
10
^P
Data link escape
DC1
21
17
11
^Q
XON, with XOFF to pause listings; ":okay to send".
DC2
22
18
12
^R
Device control 2, block-mode flow control
DC3
23
19
13
^S
XOFF, with XON is TERM=18 flow control
DC4
24
20
14
^T
Device control 4
NAK
25
21
15
^U
Negative acknowledge
SYN
26
22
16
^V
Synchronous idle
ETB
27
23
17
^W
End transmission block, not the same as EOT
CAN
30
24
17
^X
Cancel line, MPE echoes !!!
EM
31
25
19
^Y
End of medium, Control-Y interrupt
SUB
32
26
1a
^Z
Substitute
ESC
33
27
1b
^[
Escape, next character is not echoed
FS
34
28
1c
^
File separator
GS
35
29
1d
^]
Group separator
RS
36
30
1e
^^
Record separator, block-mode terminator
US
37
31
1f
^_
Unit separator
可打印字符(Printing Characters) Char
Octal
Dec
Hex
Control-Key
Description
SP
40
32
20
 
Space
!
41
33
21
 
Exclamation mark
"
42
34
22
 
Quotation mark (" in html)
#
43
35
23
 
Cross hatch (number sign)
$
44
36
24
 
Dollar sign
%
45
37
25
 
Percent sign
&
46
38
26
 
Ampersand
`
47
39
27
 
Closing single quote (apostrophe)
(
50
40
【ASCII 码表 ASCII Table 整理】28
 
Opening parentheses
)
51
41
29
 
Closing parentheses
*
52
42
2a
 
Asterisk (star, multiply)
+
53
43
2b
 
Plus
,
54
44
2c
 
Comma
-
55
45
2d
 
Hyphen, dash, minus
.
56
46
2e
 
Period
/
57
47
2f
 
Slant (forward slash, divide)
0
60
48
30
 
Zero
1
61
49
31
 
One
2
62
50
32
 
Two
3
63
51
33
 
Three
4
64
52
34
 
Four
5
65
53
35
 
Five
6
66
54
36
 
Six
7
67
55
37
 
Seven
8
70
56
38
 
Eight
9
71
57
39
 
Nine
:
72
58
3a
 
Colon


推荐阅读