ASCII编码表
2005-09-01 18:03 JohnHoo 阅读(5405) 评论(1) 编辑 收藏 举报ASCII编码对照表
000 = 00 = U+0000 : NULL
001 = 01 = U+0001 : START OF HEADING
002 = 02 = U+0002 : START OF TEXT
003 = 03 = U+0003 : END OF TEXT
004 = 04 = U+0004 : END OF TRANSMISSION
005 = 05 = U+0005 : ENQUIRY
006 = 06 = U+0006 : ACKNOWLEDGE
007 = 07 = U+0007 : BELL
008 = 08 = U+0008 : BACKSPACE
009 = 09 = U+0009 : HORIZONTAL TABULATION
010 = 0A = U+000A : LINE FEED
011 = 0B = U+000B : VERTICAL TABULATION
012 = 0C = U+000C : FORM FEED
013 = 0D = U+000D : CARRIAGE RETURN
014 = 0E = U+000E : SHIFT OUT
015 = 0F = U+000F : SHIFT IN
016 = 10 = U+0010 : DATA LINK ESCAPE
017 = 11 = U+0011 : DEVICE CONTROL ONE
018 = 12 = U+0012 : DEVICE CONTROL TWO
019 = 13 = U+0013 : DEVICE CONTROL THREE
020 = 14 = U+0014 : DEVICE CONTROL FOUR
021 = 15 = U+0015 : NEGATIVE ACKNOWLEDGE
022 = 16 = U+0016 : SYNCHRONOUS IDLE
023 = 17 = U+0017 : END OF TRANSMISSION BLOCK
024 = 18 = U+0018 : CANCEL
025 = 19 = U+0019 : END OF MEDIUM
026 = 1A = U+001A : SUBSTITUTE
027 = 1B = U+001B : ESCAPE
028 = 1C = U+001C : FILE SEPARATOR
029 = 1D = U+001D : GROUP SEPARATOR
030 = 1E = U+001E : RECORD SEPARATOR
031 = 1F = U+001F : UNIT SEPARATOR
032 = 20 = U+0020 : SPACE
033 = 21 = U+0021 : EXCLAMATION MARK
034 = 22 = U+0022 : QUOTATION MARK
035 = 23 = U+0023 : NUMBER SIGN
036 = 24 = U+0024 : DOLLAR SIGN
037 = 25 = U+0025 : PERCENT SIGN
038 = 26 = U+0026 : AMPERSAND
039 = 27 = U+0027 : APOSTROPHE
040 = 28 = U+0028 : LEFT PARENTHESIS
041 = 29 = U+0029 : RIGHT PARENTHESIS
042 = 2A = U+002A : ASTERISK
043 = 2B = U+002B : PLUS SIGN
044 = 2C = U+002C : COMMA
045 = 2D = U+002D : HYPHEN-MINUS
046 = 2E = U+002E : FULL STOP
047 = 2F = U+002F : SOLIDUS
048 = 30 = U+0030 : DIGIT ZERO
049 = 31 = U+0031 : DIGIT ONE
050 = 32 = U+0032 : DIGIT TWO
051 = 33 = U+0033 : DIGIT THREE
052 = 34 = U+0034 : DIGIT FOUR
053 = 35 = U+0035 : DIGIT FIVE
054 = 36 = U+0036 : DIGIT SIX
055 = 37 = U+0037 : DIGIT SEVEN
056 = 38 = U+0038 : DIGIT EIGHT
057 = 39 = U+0039 : DIGIT NINE
058 = 3A = U+003A : COLON
059 = 3B = U+003B : SEMICOLON
060 = 3C = U+003C : LESS-THAN SIGN
061 = 3D = U+003D : EQUALS SIGN
062 = 3E = U+003E : GREATER-THAN SIGN
063 = 3F = U+003F : QUESTION MARK
064 = 40 = U+0040 : COMMERCIAL AT
065 = 41 = U+0041 : LATIN CAPITAL LETTER A
066 = 42 = U+0042 : LATIN CAPITAL LETTER B
067 = 43 = U+0043 : LATIN CAPITAL LETTER C
068 = 44 = U+0044 : LATIN CAPITAL LETTER D
069 = 45 = U+0045 : LATIN CAPITAL LETTER E
070 = 46 = U+0046 : LATIN CAPITAL LETTER F
071 = 47 = U+0047 : LATIN CAPITAL LETTER G
072 = 48 = U+0048 : LATIN CAPITAL LETTER H
073 = 49 = U+0049 : LATIN CAPITAL LETTER I
074 = 4A = U+004A : LATIN CAPITAL LETTER J
075 = 4B = U+004B : LATIN CAPITAL LETTER K
076 = 4C = U+004C : LATIN CAPITAL LETTER L
077 = 4D = U+004D : LATIN CAPITAL LETTER M
078 = 4E = U+004E : LATIN CAPITAL LETTER N
079 = 4F = U+004F : LATIN CAPITAL LETTER O
080 = 50 = U+0050 : LATIN CAPITAL LETTER P
081 = 51 = U+0051 : LATIN CAPITAL LETTER Q
082 = 52 = U+0052 : LATIN CAPITAL LETTER R
083 = 53 = U+0053 : LATIN CAPITAL LETTER S
084 = 54 = U+0054 : LATIN CAPITAL LETTER T
085 = 55 = U+0055 : LATIN CAPITAL LETTER U
086 = 56 = U+0056 : LATIN CAPITAL LETTER V
087 = 57 = U+0057 : LATIN CAPITAL LETTER W
088 = 58 = U+0058 : LATIN CAPITAL LETTER X
089 = 59 = U+0059 : LATIN CAPITAL LETTER Y
090 = 5A = U+005A : LATIN CAPITAL LETTER Z
091 = 5B = U+005B : LEFT SQUARE BRACKET
092 = 5C = U+005C : REVERSE SOLIDUS
093 = 5D = U+005D : RIGHT SQUARE BRACKET
094 = 5E = U+005E : CIRCUMFLEX ACCENT
095 = 5F = U+005F : LOW LINE
096 = 60 = U+0060 : GRAVE ACCENT
097 = 61 = U+0061 : LATIN SMALL LETTER A
098 = 62 = U+0062 : LATIN SMALL LETTER B
099 = 63 = U+0063 : LATIN SMALL LETTER C
100 = 64 = U+0064 : LATIN SMALL LETTER D
101 = 65 = U+0065 : LATIN SMALL LETTER E
102 = 66 = U+0066 : LATIN SMALL LETTER F
103 = 67 = U+0067 : LATIN SMALL LETTER G
104 = 68 = U+0068 : LATIN SMALL LETTER H
105 = 69 = U+0069 : LATIN SMALL LETTER I
106 = 6A = U+006A : LATIN SMALL LETTER J
107 = 6B = U+006B : LATIN SMALL LETTER K
108 = 6C = U+006C : LATIN SMALL LETTER L
109 = 6D = U+006D : LATIN SMALL LETTER M
110 = 6E = U+006E : LATIN SMALL LETTER N
111 = 6F = U+006F : LATIN SMALL LETTER O
112 = 70 = U+0070 : LATIN SMALL LETTER P
113 = 71 = U+0071 : LATIN SMALL LETTER Q
114 = 72 = U+0072 : LATIN SMALL LETTER R
115 = 73 = U+0073 : LATIN SMALL LETTER S
116 = 74 = U+0074 : LATIN SMALL LETTER T
117 = 75 = U+0075 : LATIN SMALL LETTER U
118 = 76 = U+0076 : LATIN SMALL LETTER V
119 = 77 = U+0077 : LATIN SMALL LETTER W
120 = 78 = U+0078 : LATIN SMALL LETTER X
121 = 79 = U+0079 : LATIN SMALL LETTER Y
122 = 7A = U+007A : LATIN SMALL LETTER Z
123 = 7B = U+007B : LEFT CURLY BRACKET
124 = 7C = U+007C : VERTICAL LINE
125 = 7D = U+007D : RIGHT CURLY BRACKET
126 = 7E = U+007E : TILDE
127 = 7F = U+007F : DELETE
ASCII码中:
第0~32号及第127号是控制字符,常见的控制符如:
007 = 07 = U+0007 : BELL 转义符:\a 响铃
008 = 08 = U+0008 : BACKSPACE 转义符:\b 退格键
009 = 09 = U+0009 : HORIZONTAL TABULATION 转义符:\t Tab键
010 = 0A = U+000A : LINE FEED 转义符:\n 换行符
011 = 0B = U+000B : VERTICAL TABULATION 转义符:\v 垂直 Tab 符
012 = 0C = U+000C : FORM FEED 转义符:\f 换页符
013 = 0D = U+000D : CARRIAGE RETURN 转义符:\r 回车键
027 = 1B = U+001B : ESCAPE 转义符:\e Esc 键
第33~126号是字符,其中第48~57号为0~9十个阿拉伯数字;65~90号为26个大写英文字母,97~122号为26个小写英文字母,其余的是一些标点符号、运算符号等。
完整的ASCII编码表如下(来源:微软MSDN站点):