1、ASCII 表(字符与编码对照表)Decimal Octal Hex Character Description0 0 00 NUL1 1 01 SOH start of header2 2 02 STX start of text3 3 03 ETX end of text4 4 04 EOT end of transmission5 5 05 ENQ enquiry6 6 06 ACK acknowledge7 7 07 BEL bell8 10 08 BS backspace9 11 09 HT horizontal tab10 12 0A LF line feed11 13 0B VT
2、 vertical tab12 14 0C FF form feed13 15 0D CR carriage return14 16 0E SO shift out15 17 0F SI shift in16 20 10 DLE data link escape17 21 11 DC1 no assignment, but usually XON18 22 12 DC219 23 13 DC3 no assignment, but usually XOFF20 24 14 DC421 25 15 NAK negative acknowledge22 26 16 SYN synchronous
3、idle23 27 17 ETB end of transmission block24 30 18 CAN cancel25 31 19 EM end of medium26 32 1A SUB substitute27 33 1B ESC escape28 34 1C FS file seperator29 35 1D GS group seperator30 36 1E RS record seperator31 37 1F US unit seperator32 40 20 SPC space33 41 21 !34 42 22 “35 43 23 #36 44 24 $37 45 2
4、5 %38 46 26 60 74 3C 63 77 3F ?64 100 40 65 101 41 A66 102 42 B67 103 43 C68 104 44 D69 105 45 E70 106 46 F71 107 47 G72 110 48 H73 111 49 I74 112 4A J75 113 4B K76 114 4C L77 115 4D M78 116 4E N79 117 4F O80 120 50 P81 121 51 Q82 122 52 R83 123 53 S84 124 54 T85 125 55 U86 126 56 V87 127 57 W88 130
5、 58 X89 131 59 Y90 132 5A Z91 133 5B 92 134 5C 93 135 5D 94 136 5E 95 137 5F _96 140 60 97 141 61 a98 142 62 b99 143 63 c100 144 64 d101 145 65 e102 146 66 f103 147 67 g104 150 68 h105 151 69 i106 152 6A j107 153 6B k108 154 6C l109 155 6D m110 156 6E n111 157 6F o112 160 70 p113 161 71 q114 162 72 r115 163 73 s116 164 74 t117 165 75 u118 166 76 v119 167 77 w120 170 78 x121 171 79 y122 172 7A z123 173 7B 124 174 7C |125 175 7D 126 176 7E 127 177 7F DEL delete