ASCII码表[转]
常用ASCII码表(方便查找)
键盘 |
ASCII码 |
键盘 |
ASCII码 |
键盘 |
ASCII码 |
键盘 |
ASCII码 |
ESC | 27 | 7 | 55 | O | 79 | g | 103 |
SPACE | 32 | 8 | 56 | P | 80 | h | 104 |
! | 33 | 9 | 57 | Q | 81 | i | 105 |
" | 34 | : | 58 | R | 82 | j | 106 |
# | 35 | ; | 59 | S | 83 | k | 107 |
$ | 36 | < | 60 | T | 84 | l | 108 |
% | 37 | = | 61 | U | 85 | m | 109 |
& | 38 | > | 62 | V | 86 | n | 110 |
' | 39 | ? | 63 | W | 87 | o | 111 |
( | 40 | @ | 64 | X | 88 | p | 112 |
) | 41 | A | 65 | Y | 89 | q | 113 |
* | 42 | B | 66 | Z | 90 | r | 114 |
+ | 43 | C | 67 | [ | 91 | s | 115 |
' | 44 | D | 68 | \ | 92 | t | 116 |
- | 45 | E | 69 | ] | 93 | u | 117 |
. | 46 | F | 70 | ^ | 94 | v | 118 |
/ | 47 | G | 71 | _ | 95 | w | 119 |
0 | 48 | H | 72 | ` | 96 | x | 120 |
1 | 49 | I | 73 | a | 97 | y | 121 |
2 | 50 | J | 74 | b | 98 | z | 122 |
3 | 51 | K | 75 | c | 99 | { | 123 |
4 | 52 | L | 76 | d | 100 | | | 124 |
5 | 53 | M | 77 | e | 101 | } | 125 |
6 | 54 | N | 78 | f | 102 | ~ | 126 |
另外2个特殊ASCII码:回车=13,换行=10 |
ASCII表
ASCII值 | 控制字符 | ASCII值 | 控制字符 | ASCII值 | 控制字符 | ASCII值 | 控制字符 |
0 | NUT | 32 | (space) | 64 | @ | 96 | 、 |
1 | SOH | 33 | ! | 65 | A | 97 | a |
2 | STX | 34 | ” | 66 | B | 98 | b |
3 | ETX | 35 | # | 67 | C | 99 | c |
4 | EOT | 36 | $ | 68 | D | 100 | d |
5 | ENQ | 37 | % | 69 | E | 101 | e |
6 | ACK | 38 | & | 70 | F | 102 | f |
7 | BEL | 39 | , | 71 | G | 103 | g |
8 | BS | 40 | ( | 72 | H | 104 | h |
9 | HT | 41 | ) | 73 | I | 105 | i |
10 | LF | 42 | * | 74 | J | 106 | j |
11 | VT | 43 | + | 75 | K | 107 | k |
12 | FF | 44 | , | 76 | L | 108 | l |
13 | CR | 45 | - | 77 | M | 109 | m |
14 | SO | 46 | . | 78 | N | 110 | n |
15 | SI | 47 | / | 79 | O | 111 | o |
16 | DLE | 48 | 0 | 80 | P | 112 | p |
17 | DCI | 49 | 1 | 81 | Q | 113 | q |
18 | DC2 | 50 | 2 | 82 | R | 114 | r |
19 | DC3 | 51 | 3 | 83 | X | 115 | s |
20 | DC4 | 52 | 4 | 84 | T | 116 | t |
21 | NAK | 53 | 5 | 85 | U | 117 | u |
22 | SYN | 54 | 6 | 86 | V | 118 | v |
23 | TB | 55 | 7 | 87 | W | 119 | w |
24 | CAN | 56 | 8 | 88 | X | 120 | x |
25 | EM | 57 | 9 | 89 | Y | 121 | y |
26 | SUB | 58 | : | 90 | Z | 122 | z |
27 | ESC | 59 | ; | 91 | [ | 123 | { |
28 | FS | 60 | < | 92 | \ | 124 | | |
29 | GS | 61 | = | 93 | ] | 125 | } |
30 | RS | 62 | > | 94 | ^ | 126 | ~ |
31 | US | 63 | ? | 95 | — | 127 | DEL |
NUL | VT 垂直制表 | SYN 空转同步 |
SOH 标题开始 | FF 走纸控制 | ETB 信息组传送结束 |
STX 正文开始 | CR 回车 | CAN 作废 |
ETX 正文结束 | SO 移位输出 | EM 纸尽 |
EOY 传输结束 | SI 移位输入 | SUB 换置 |
ENQ 询问字符 | DLE 空格 | ESC 换码 |
ACK 承认 | DC1 设备控制1 | FS 文字分隔符 |
BEL 报警 | DC2 设备控制2 | GS 组分隔符 |
BS 退一格 | DC3 设备控制3 | RS 记录分隔符 |
HT 横向列表 | DC4 设备控制4 | US 单元分隔符 |
LF 换行 | NAK 否定 | DEL 删除 |
键盘常用ASCII码 |
ESC键 VK_ESCAPE (27) 回车键: VK_RETURN (13) TAB键: VK_TAB (9) Caps Lock键: VK_CAPITAL (20) Shift键: VK_SHIFT ($10) Ctrl键: VK_CONTROL (17) Alt键: VK_MENU (18) 空格键: VK_SPACE ($20/32) 退格键: VK_BACK (8) 左徽标键: VK_LWIN (91) 右徽标键: VK_LWIN (92) 鼠标右键快捷键:VK_APPS (93) Insert键: VK_INSERT (45) 方向键(←): VK_LEFT (37) F1键: VK_F1 (112) Num Lock键: VK_NUMLOCK (144) Pause Break键: VK_PAUSE (19) |
posted on 2008-10-28 00:00 john.huang 阅读(1019) 评论(0) 编辑 收藏 举报