Таблица кодов символов linux

Таблица кодов символов linux

ASCII(5)

НАЗВАНИЕ
ascii — таблица кодов ASCII

ОПИСАНИЕ
Файл /usr/pub/ascii содержит таблицу кодов ASCII в восьмеричном и шестнадцатеричном представлении:

000 nul 001 soh 002 stx 003 etx 004 eot 005 enq 006 ack 007 be 010 bs 011 ht 012 nl 013 vt 014 np 015 cr 016 so 017 si 020 dle 021 dcl 022 dc2 023 dc3 024 dc4 025 nak 026 syn 027 et 030 can 031 em 032 sub 033 esc 034 fs 035 gs 036 rs 037 us 040 sp 041 ! 042 " 043 # 044 $ 045 % 046 & 047 ' 050 ( 051 ) 052 * 053 + 054 , 055 - 056 . 057 / 060 0 061 1 062 2 063 3 064 4 065 5 066 6 067 7 070 8 071 9 072 : 073 ; 074 < 075 = 076 >077 ? 100 @ 101 A 102 B 103 C 104 D 105 E 106 F 107 G 110 H 111 I 112 J 113 K 114 L 115 M 116 N 117 O 120 P 121 Q 122 R 123 S 124 T 125 U 126 V 127 W 130 X 131 Y 132 Z 133 [ 134 \ 135 ] 136 ^ 137 _ 140 ` 141 a 142 b 143 c 144 d 145 e 146 f 147 g 150 h 151 i 152 j 153 k 154 l 155 m 156 n 157 o 160 p 161 q 162 r 163 s 164 t 165 u 166 v 167 w 170 x 171 y 172 z 173 < 174 | 175 >176 ~ 177 de 00 nul 01 soh 02 stx 03 etx 04 eot 05 enq 06 ack 07 bel 08 bs 09 ht 0a nl 0b vt 0c np 0d cr 0e so 0f si 10 dle 11 dcl 12 dc2 13 dc3 14 dc4 15 nak 16 syn 17 etb 18 can 19 em 1a sub 1b esc 1c fs 1d gs 1e rs 1f us 20 sp 21 ! 22 " 23 # 24 $ 25 % 26 & 27 ' 28 ( 29 ) 2a * 2b + 2c , 2d - 2e . 2f / 30 0 31 1 32 2 33 3 34 4 35 5 36 6 37 7 38 8 39 9 3a : 3b ; 3c < 3d = 3e >3f ? 40 @ 41 A 42 B 43 C 44 D 45 E 46 F 47 G 48 H 49 I 4a J 4b K 4c L 4d M 4e N 4f O 50 P 51 Q 52 R 53 S 54 T 55 U 56 V 57 W 58 X 59 Y 5a Z 5b [ 5c \ 5d ] 5e ^ 5f _ 60 ` 61 a 62 b 63 c 64 d 65 e 66 f 67 g 68 h 69 i 6a j 6b k 6c l 6d m 6e n 6f o 70 p 71 q 72 r 73 s 74 t 75 u 76 v 77 w 78 x 79 y 7a z 7b < 7c | 7d >7e ~ 7f del

Источник

DESCRIPTION

ASCII is the American Standard Code for Information Interchange. It is a 7-bit code. Many 8-bit codes (e.g., ISO 8859-1) contain ASCII as their lower half. The international counterpart of ASCII is known as ISO 646-IRV.

The following table contains the 128 ASCII characters.

C program ‘\X’ escapes are noted.

Oct Dec Hex Char Oct Dec Hex Char
000 0 00 NUL ‘\0’ (null character) 100 64 40 @
001 1 01 SOH (start of heading) 101 65 41 A
002 2 02 STX (start of text) 102 66 42 B
003 3 03 ETX (end of text) 103 67 43 C
004 4 04 EOT (end of transmission) 104 68 44 D
005 5 05 ENQ (enquiry) 105 69 45 E
006 6 06 ACK (acknowledge) 106 70 46 F
007 7 07 BEL ‘\a’ (bell) 107 71 47 G
010 8 08 BS ‘\b’ (backspace) 110 72 48 H
011 9 09 HT ‘\t’ (horizontal tab) 111 73 49 I
012 10 0A LF ‘\n’ (new line) 112 74 4A J
013 11 0B VT ‘\v’ (vertical tab) 113 75 4B K
014 12 0C FF ‘\f’ (form feed) 114 76 4C L
015 13 0D CR ‘\r’ (carriage ret) 115 77 4D M
016 14 0E SO (shift out) 116 78 4E N
017 15 0F SI (shift in) 117 79 4F O
020 16 10 DLE (data link escape) 120 80 50 P
021 17 11 DC1 (device control 1) 121 81 51 Q
022 18 12 DC2 (device control 2) 122 82 52 R
023 19 13 DC3 (device control 3) 123 83 53 S
024 20 14 DC4 (device control 4) 124 84 54 T
025 21 15 NAK (negative ack.) 125 85 55 U
026 22 16 SYN (synchronous idle) 126 86 56 V
027 23 17 ETB (end of trans. blk) 127 87 57 W
030 24 18 CAN (cancel) 130 88 58 X
031 25 19 EM (end of medium) 131 89 59 Y
032 26 1A SUB (substitute) 132 90 5A Z
033 27 1B ESC (escape) 133 91 5B [
034 28 1C FS (file separator) 134 92 5C \ ‘\\’
035 29 1D GS (group separator) 135 93 5D ]
036 30 1E RS (record separator) 136 94 5E ^
037 31 1F US (unit separator) 137 95 5F _
040 32 20 SPACE 140 96 60 `
041 33 21 ! 141 97 61 a
042 34 22 « 142 98 62 b
043 35 23 # 143 99 63 c
044 36 24 $ 144 100 64 d
045 37 25 % 145 101 65 e
046 38 26 & 146 102 66 f
047 39 27 147 103 67 g
050 40 28 ( 150 104 68 h
051 41 29 ) 151 105 69 i
052 42 2A * 152 106 6A j
053 43 2B + 153 107 6B k
054 44 2C , 154 108 6C l
055 45 2D 155 109 6D m
056 46 2E . 156 110 6E n
057 47 2F / 157 111 6F o
060 48 30 0 160 112 70 p
061 49 31 1 161 113 71 q
062 50 32 2 162 114 72 r
063 51 33 3 163 115 73 s
064 52 34 4 164 116 74 t
065 53 35 5 165 117 75 u
066 54 36 6 166 118 76 v
067 55 37 7 167 119 77 w
070 56 38 8 170 120 78 x
071 57 39 9 171 121 79 y
072 58 3A : 172 122 7A z
073 59 3B ; 173 123 7B
074 60 3C 174 124 7C |
075 61 3D = 175 125 7D >
076 62 3E > 176 126 7E ~
077 63 3F ? 177 127 7F DEL

Tables

For convenience, below are more compact tables in hex and decimal.

 
2 3 4 5 6 7 30 40 50 60 70 80 90 100 110 120
------------- --------------------------------- 0: 0 @ P ` p 0: ( 2 < F P Z d n x 1: ! 1 A Q a q 1: ) 3 = G Q [ e o y 2: " 2 B R b r 2: * 4 >H R \ f p z 3: # 3 C S c s 3: ! + 5 ? I S ] g q < 4: $ 4 D T d t 4: " , 6 @ J T ^ h r | 5: % 5 E U e u 5: # - 7 A K U _ i s >6: & 6 F V f v 6: $ . 8 B L V ` j t ~ 7: ' 7 G W g w 7: % / 9 C M W a k u DEL 8: ( 8 H X h x 8: & 0 : D N X b l v 9: ) 9 I Y i y 9: ' 1 ; E O Y c m w A: * : J Z j z B: + ; K [ k < C: , < L \ l | D: - = M ] m >E: . > N ^ n ~ F: / ? O _ o DEL

NOTES

History

/etc/ascii (VII) appears in the UNIX Programmer’s Manual.

On older terminals, the underscore code is displayed as a left arrow, called backarrow, the caret is displayed as an up-arrow and the vertical bar has a hole in the middle.

Uppercase and lowercase characters differ by just one bit and the ASCII character 2 differs from the double quote by just one bit, too. That made it much easier to encode characters mechanically or with a non-microcontroller-based electronic keyboard and that pairing was found on old teletypes.

The ASCII standard was published by the United States of America Standards Institute (USASI) in 1968.

SEE ALSO

Package name: core/man-pages Version: 6.04-1 Upstream: https://www.kernel.org/doc/man-pages/ Licenses: GPL, custom Manuals: /listing/core/man-pages/ Table of contents

Powered by archmanweb, using mandoc for the conversion of manual pages.

The website is available under the terms of the GPL-3.0 license, except for the contents of the manual pages, which have their own license specified in the corresponding Arch Linux package.

Источник

ASCII(7)

ascii — таблица 7-разрядных кодов ASCII . В ней представлены все символы в восьмеричном и шестнадцатиричном кодах.

Восьмеричный код

000 nul 001 soh 002 stx 003 etx 004 eot 005 enq 006 ack 007 bel
010 bs 011 ht 012 nl 013 vt 014 np 015 cr 016 so 017 si
020 dle 021 dc1 022 dc2 023 dc3 024 dc4 025 nak 026 syn 027 etb
030 can 031 em 032 sub 033 esc 034 fs 035 gs 036 rs 037 us
040 sp 041 ! 042 » 043 # 044 $ 045 % 046 & 047
050 ( 051 ) 052 * 053 + 054 , 055 056 . 057 /
060 0 061 1 062 2 063 3 064 4 065 5 066 6 067 7
070 8 071 9 072 : 073 ; 074 075 = 076 > 077 ?
100 @ 101 A 102 B 103 C 104 D 105 E 106 F 107 G
110 H 111 I 112 J 113 K 114 L 115 M 116 N 117 O
120 P 121 Q 122 R 123 S 124 T 125 U 126 V 127 W
130 X 131 Y 132 Z 133 [ 134 \ 135 ] 136 ^ 137 _
140 ` 141 a 142 b 143 c 144 d 145 e 146 f 147 g
150 h 151 i 152 j 153 k 154 l 155 m 156 n 157 o
160 p 161 q 162 r 163 s 164 t 165 u 166 v 167 w
170 x 171 y 172 z 173 174 | 175 > 176 ~ 177 del

Шестнадцатиричный код

00 nul 01 soh 02 stx 03 etx 04 eot 05 enq 06 ask 07 bel
08 bs 09 ht 0a nl 0b vt 0c np 0d cr 0e so 0f si
10 dle 11 dc1 12 dc2 13 dc3 14 dc4 15 nak 16 syn 17 etb
18 can 19 em 1a sub 1b esc 1c fs 1d gs 1e rs 1f us
20 sp 21 ! 22 » 23 # 24 $ 25 % 26 & 27
28 ( 29 ) 2a * 2b + 2c , 2d 2e . 2f /
30 0 31 1 32 2 33 3 34 4 35 5 36 6 37 7
38 8 39 9 3a : 3b ; 3c 3d = 3e > 3f ?
40 @ 41 A 42 B 43 C 44 D 45 E 46 F 47 G
48 H 49 I 4a J 4b K 4c L 4d M 4e N 4f O
50 P 51 Q 52 R 53 S 54 T 55 U 56 V 57 W
58 X 59 Y 5a Z 5b [ 5c \ 5d ] 5e ^ 5f _
60 ` 61 a 62 b 63 c 64 d 65 e 66 f 67 g
68 h 69 i 6a j 6b k 6c l 6d m 6e n 6f o
70 p 71 q 72 r 73 s 74 t 75 u 76 v 77 w
78 x 79 y 7a z 7b 7c | 7d > 7e ~ 7f del

Расширенный восьмиразрядный код ASCII показан ниже опять же в восьмеричном и шестнадцатиричном представлениях каждого символа. Программа mapcan.1 позволяет обращаться к этим символам. Изображение этих символов зависит от технических возможностей устройства.

Восьмеричный код

200 ** 201 ** 202 ** 203 ** 204 ind 205 nel 206 ssa 207 esa
210 hts 211 hti 212 vts 213 pld 214 plu 215 ri 216 ss2 217 ss3
220 dcs 221 pu1 222 pu2 223 sts 224 cch 225 mw 226 spa 227 epa
230 ** 231 ** 232 ** 233 csi 234 st 235 osc 236 pm 237 apc
240 nbsp 241 *** 242 *** 243 *** 244 *** 245 *** 246 | 247 ***
250 *** 251 *** 252 *** 253 *** 254 *** 255 shy 256 *** 257 ***
260 *** 261 *** 262 *** 263 *** 264 265 *** 266 *** 267 ***
270 , 271 *** 272 *** 273 *** 274 *** 275 *** 276 *** 277 ***
300 *** 301 *** 302 *** 303 *** 304 *** 305 *** 306 *** 307 ***
310 *** 311 *** 312 *** 313 і 314 *** 315 *** 316 *** 317 ***
320 *** 321 *** 322 *** 323 *** 324 *** 325 *** 326 *** 327 **
330 *** 331 *** 332 *** 333 *** 334 *** 335 *** 336 *** 337 ***
340 *** 341 *** 342 *** 343 *** 344 *** 345 *** 346 *** 347 ***
350 *** 351 *** 352 *** 353 Ј 354 *** 355 *** 356 *** 357 ***
360 *** 361 *** 362 *** 363 *** 364 *** 365 *** 366 *** 367 **
370 *** 371 *** 372 *** 373 *** 374 *** 375 *** 376 *** 377 ***

Шестнадцатиричный код

80 ** 81 ** 82 ** 83 ** 84 ind 85 nel 86 ssa 87 esa
88 hts 89 hti 8a vts 8b pld 8c plu 8d ri 8e ss2 8f ss3
90 dcs 91 pu1 92 pu2 93 sts 94 cch 95 mw 96 spa 97 epa
98 ** 99 ** 9a ** 9b csi 9c st 9d osc 9e pm 9f apc
a0 nbsp a1 *** a2 *** a3 *** a4 *** a5 *** a6 | a7 ***
a8 *** a9 *** aa *** ab *** ac *** ad shy ae *** af ***
b0 *** b1 *** b2 *** b3 *** b4 b5 *** b6 *** b7 ***
b8 , b9 *** ba *** bb *** bc *** bd *** be *** bf ***
c0 *** c1 *** c2 *** c3 *** c4 *** c5 *** c6 *** c7 ***
c8 *** c9 *** ca *** cb і cc *** cd *** ce *** cf ***
d0 *** d1 *** d2 *** d3 *** d4 *** d5 *** d6 *** d7 **
d8 *** d9 *** da *** db *** dc *** db *** de *** df ***
e0 *** e1 *** e2 *** e3 *** e4 *** e5 *** e6 *** e7 ***
e8 *** e9 *** ea *** eb Ј ec *** ed *** ee *** ef ***
f0 *** f1 *** f2 *** f3 *** f4 *** f5 *** f6 *** f7 **
f8 *** f9 *** fa *** fb *** fc *** fd *** fe *** ff ***

Источник

Читайте также:  Пропал меню пуск линукс
Оцените статью
Adblock
detector