ascii编码
Decimal Octal Hex Binary Value
------- ----- --- ------ -----
000 000 000 00000000 NUL (Null char.)
001 001 001 00000001 SOH (Start of Header)
002 002 002 00000010 STX (Start of Text)
003 003 003 00000011 ETX (End of Text)
004 004 004 00000100 EOT (End of Transmission)
005 005 005 00000101 ENQ (Enquiry)
006 006 006 00000110 ACK (Acknowledgment)
007 007 007 00000111 BEL (Bell)
008 010 008 00001000 BS (Backspace)
009 011 009 00001001 HT (Horizontal Tab)
010 012 00A 00001010 LF (Line Feed)
011 013 00B 00001011 VT (Vertical Tab)
012 014 00C 00001100 FF (Form Feed)
013 015 00D 00001101 CR (Carriage Return)
014 016 00E 00001110 SO (Shift Out)
015 017 00F 00001111 SI (Shift In)
016 020 010 00010000 DLE (Data Link Escape)
017 021 011 00010001 DC1 (XON) (Device Control 1)
018 022 012 00010010 DC2 (Device Control 2)
019 023 013 00010011 DC3 (XOFF)(Device Control 3)
020 024 014 00010100 DC4 (Device Control 4)
021 025 015 00010101 NAK (Negative Acknowledgement)
022 026 016 00010110 SYN (Synchronous Idle)
023 027 017 00010111 ETB (End of Trans. Block)
024 030 018 00011000 CAN (Cancel)
025 031 019 00011001 EM (End of Medium)
026 032 01A 00011010 SUB (Substitute)
027 033 01B 00011011 ESC (Escape)
028 034 01C 00011100 FS (File Separator)
029 035 01D 00011101 GS (Group Separator)
030 036 01E 00011110 RS (Request to Send)(Record Separator)
031 037 01F 00011111 US (Unit Separator)
032 040 020 00100000 SP (Space)
033 041 021 00100001 ! (exclamation mark)
034 042 022 00100010 " (double quote)
035 043 023 00100011 # (number sign)
036 044 024 00100100 ___FCKpd___0nbsp; (dollar sign)
037 045 025 00100101 % (percent)
038 046 026 00100110 & (ampersand)
039 047 027 00100111 ' (single quote)
040 050 028 00101000 ( (left/opening parenthesis)
041 051 029 00101001 ) (right/closing parenthesis)
042 052 02A 00101010 * (asterisk)
043 053 02B 00101011 + (plus)
044 054 02C 00101100 , (comma)
045 055 02D 00101101 - (minus or dash)
046 056 02E 00101110 . (dot)
047 057 02F 00101111 / (forward slash)
048 060 030 00110000 0
049 061 031 00110001 1
050 062 032 00110010 2
051 063 033 00110011 3
052 064 034 00110100 4
053 065 035 00110101 5
054 066 036 00110110 6
055 067 037 00110111 7
056 070 038 00111000 8
057 071 039 00111001 9
058 072 03A 00111010 : (colon)
059 073 03B 00111011 ; (semi-colon)
060 074 03C 00111100 < (less than)
061 075 03D 00111101 = (equal sign)
062 076 03E 00111110 > (greater than)
063 077 03F 00111111 ? (question mark)
064 100 040 01000000 @ (AT symbol)
065 101 041 01000001 A
066 102 042 01000010 B
067 103 043 01000011 C
068 104 044 01000100 D
069 105 045 01000101 E
070 106 046 01000110 F
071 107 047 01000111 G
072 110 048 01001000 H
073 111 049 01001001 I
074 112 04A 01001010 J
075 113 04B 01001011 K
076 114 04C 01001100 L
077 115 04D 01001101 M
078 116 04E 01001110 N
079 117 04F 01001111 O
080 120 050 01010000 P
081 121 051 01010001 Q
082 122 052 01010010 R
083 123 053 01010011 S
084 124 054 01010100 T
085 125 055 01010101 U
086 126 056 01010110 V
087 127 057 01010111 W
088 130 058 01011000 X
089 131 059 01011001 Y
090 132 05A 01011010 Z
091 133 05B 01011011 [ (left/opening bracket)
092 134 05C 01011100 / (back slash)
093 135 05D 01011101 ] (right/closing bracket)
094 136 05E 01011110 ^ (caret/cirumflex)
095 137 05F 01011111 _ (underscore)
096 140 060 01100000 `
097 141 061 01100001 a
098 142 062 01100010 b
099 143 063 01100011 c
100 144 064 01100100 d
101 145 065 01100101 e
102 146 066 01100110 f
103 147 067 01100111 g
104 150 068 01101000 h
105 151 069 01101001 i
106 152 06A 01101010 j
107 153 06B 01101011 k
108 154 06C 01101100 l
109 155 06D 01101101 m
110 156 06E 01101110 n
111 157 06F 01101111 o
112 160 070 01110000 p
113 161 071 01110001 q
114 162 072 01110010 r
115 163 073 01110011 s
116 164 074 01110100 t
117 165 075 01110101 u
118 166 076 01110110 v
119 167 077 01110111 w
120 170 078 01111000 x
121 171 079 01111001 y
122 172 07A 01111010 z
123 173 07B 01111011 { (left/opening brace)
124 174 07C 01111100 | (vertical bar)
125 175 07D 01111101 } (right/closing brace)
126 176 07E 01111110 ~ (tilde)
127 177 07F 01111111 DEL (delete)
前32个控制字符的详细解释:
NUL (null)
SOH (start of heading)
STX (start of text)
ETX (end of text)
EOT (end of transmission) - Not the same as ETB
ENQ (enquiry)
ACK (acknowledge)
BEL (bell) - Caused teletype machines to ring a bell. Causes a beep
in many common terminals and terminal emulation programs.
BS (backspace) - Moves the cursor (or print head) move backwards (left)
one space.
TAB (horizontal tab) - Moves the cursor (or print head) right to the next
tab stop. The spacing of tab stops is dependent
on the output device, but is often either 8 or 10.
LF (NL line feed, new line) - Moves the cursor (or print head) to a new
line. On Unix systems, moves to a new line
AND all the way to the left.
VT (vertical tab)
FF (form feed) - Advances paper to the top of the next page (if the
output device is a printer).
CR (carriage return) - Moves the cursor all the way to the left, but does
not advance to the next line.
SO (shift out) - Switches output device to alternate character set.
SI (shift in) - Switches output device back to default character set.
DLE (data link escape)
DC1 (device control 1)
DC2 (device control 2)
DC3 (device control 3)
DC4 (device control 4)
NAK (negative acknowledge)
SYN (synchronous idle)
ETB (end of transmission block) - Not the same as EOT
CAN (cancel)
EM (end of medium)
SUB (substitute)
ESC (escape)
FS (file separator)
GS (group separator)
RS (record separator)
US (unit separator)
分享到:
相关推荐
最后,"ASCII码表.xls"和"ASCII码对照表.xls"是ASCII码的电子表格形式,用户可以通过电子表格软件进行查询和比较,这种格式对于编程和数据处理工作非常实用。 总的来说,这个压缩包包含了一系列资源,全面地介绍了...
ASCII (American Standard Code for Information Interchange):美国信息交换标准代码是基于拉丁字母的一套电脑编码系统,主要用于显示现代英语和其他西欧语言。它是最通用的信息交换标准,并...高清大图——ASCII码表
2. 控制字符:在ASCII码表中,0到31的字符被称为控制字符,它们用于控制通信设备的行为,比如回车(CR)、换行(LF)、响铃(BEL)等。这部分字符在现代计算机使用中较少见到。 3. 可打印字符:从32开始到126的字符...
ASCII码,全称为American Standard Code for Information Interchange(美国信息交换标准代码),是计算机科学中的一个基础概念。这个代码系统最初由美国国家标准协会(ANSI)于1963年制定,后来成为国际广泛使用的...
其中,数字0到9在ASCII码中对应的是48到57;大写字母A到Z对应的是65到90;小写字母a到z对应的是97到122。其他符号如逗号、句点、分号、等号等也都有对应的ASCII值。 除此之外,上文还提及了ASCII值与16进制代码的...
在编程世界中,特别是使用C语言进行开发时,理解ASCII码表和转义字符是非常基础且重要的知识。STM32,作为一款广泛应用的微控制器,其编程也涉及到这些概念。让我们详细探讨一下。 ASCII(American Standard Code ...
16进制转ASCII码的过程实际上是将16进制数转换成相应的二进制数,然后根据ASCII码表找到对应的字符。例如,16进制数'41'转换成ASCII码就是字符'A',因为'41'在16进制中的值等于'01000001'(二进制),在ASCII码表中...
一个ASCII码表,方便大家查询ascii码
反过来,如果有一个16进制数如"41",我们可以通过查找ASCII码表将其转换为对应的字符"A"。这种转换在编程中尤其常见,例如在处理字符串、网络通信或者解析文件格式时。 在给定的描述中,提到的“可以轻松转换进制”...
2. **选择字符模式**:在软件中选择适合的模式,确保能够处理汉字和ASCII码。 3. **设置选项**:进入软件的选项设置,关键在于“点阵”这一栏。此处需要输入字符的字节数,即字宽乘以字高除以8。如果取模16x16的...
### 标准ASCII码表详解 #### 一、ASCII码简介 ASCII(American Standard Code for Information Interchange,美国信息交换标准代码)是一种基于拉丁字母的一套电脑编码系统,主要用于显示现代英语和其他西欧语言。...
ASCII码表,按照按照高三位低四位排的二维表,有十六进制和二进制表示,方便查询。图片格式,查看、打印方便
十六进制ASCII码 相互转换工具,亲测好用, 方便实用;十六进制ASCII码可以相互转换,奉献给大家!
因为1602识别的是ASCII码,试验可以用ASCII码直接赋值,在单片机编程中还可以用字符型常量或变量赋值,如'A’。 以下是1602的16进制ASCII码表: 读的时候,先读左边那列,再读上面那行,如:感叹号!的ASCII为...
最全最清晰ASC码表,ASC码表程序员使用非常频繁,经常需要查阅,建议收藏,备份,方便码农随时查看,表中排版比其它具体,查看效率高,一行一个字符码,对应不同进制
### ASCII码表详解 #### 一、什么是ASCII码? ASCII码,全称为American Standard Code for Information Interchange(美国信息交换标准代码),是一种基于拉丁字母的一套电脑编码系统,主要用于显示现代英语和其他...
1. **BCD码转ASCII码**:对于数字,BCD码转ASCII码主要是将BCD码转换为对应的十进制数,然后根据ASCII码表找到对应的字符。例如,0101(8421BCD的5)对应ASCII码35('5'字符)。 2. **ASCII码转BCD码**:首先,读取...
2. **16进制转ASCII码**: - 首先,我们需要将16进制字符串转换为整数,可以使用`Val("&H" & hexStr)`,这里的`hexStr`是16进制字符串。然后,使用`ChrW()`函数将这个整数转换为对应的Unicode字符。例如: ```vb ...