Jump to content

KOI-7

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Любослов Езыкин (talk | contribs) at 23:55, 23 November 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

KOI7 is a 7-bit character encoding, designed to cover Russian, which uses the Cyrillic alphabet.

In Russian, KOI7 stands for Kod Obmena Informatsiey, 7 bit (Код Обмена Информацией, 7 бит) which means "Code for Information Exchange, 7 bit".

Shift Out (SO) and Shift In (SI) control characters are used in KOI7, where SO starts printing Russian letters, and SI starts printing Latin letters again, or for lowercase and uppercase switching.

Codepage layout

KOI7
—0 —1 —2 —3 —4 —5 —6 —7 —8 —9 —A —B —C —D —E —F
0_ Template:Chset-color-ctrl|NUL
0000
0
Template:Chset-color-ctrl|SOH
0001
1
Template:Chset-color-ctrl|STX
0002
2
Template:Chset-color-ctrl|ETX
0003
3
Template:Chset-color-ctrl|EOT
0004
4
Template:Chset-color-ctrl|ENQ
0005
5
Template:Chset-color-ctrl|ACK
0006
6
Template:Chset-color-ctrl|BEL
0007
7
Template:Chset-color-ctrl|BS
0008
8
Template:Chset-color-ctrl|HT
0009
9
Template:Chset-color-ctrl|LF
000A
10
Template:Chset-color-ctrl|VT
000B
11
Template:Chset-color-ctrl|FF
000C
12
Template:Chset-color-ctrl|CR
000D
13
Template:Chset-color-ctrl|SO
000E
14
Template:Chset-color-ctrl|SI
000F
15
1_ Template:Chset-color-ctrl|DLE
0010
16
Template:Chset-color-ctrl|DC1
0011
17
Template:Chset-color-ctrl|DC2
0012
18
Template:Chset-color-ctrl|DC3
0013
19
Template:Chset-color-ctrl|DC4
0014
20
Template:Chset-color-ctrl|NAK
0015
21
Template:Chset-color-ctrl|SYN
0016
22
Template:Chset-color-ctrl|ETB
0017
23
Template:Chset-color-ctrl|CAN
0018
24
Template:Chset-color-ctrl|EM
0019
25
Template:Chset-color-ctrl|SUB
001A
26
Template:Chset-color-ctrl|ESC
001B
27
Template:Chset-color-ctrl|FS
001C
28
Template:Chset-color-ctrl|GS
001D
29
Template:Chset-color-ctrl|RS
001E
30
Template:Chset-color-ctrl|US
001F
31
2_ Template:Chset-color-punct|SP
0020
32
Template:Chset-color-punct|!
0021
33
Template:Chset-color-punct|"
0022
34
Template:Chset-color-punct|#
0023
35
Template:Chset-color-punct|$
0024
36
Template:Chset-color-punct|%
0025
37
Template:Chset-color-punct|&
0026
38
Template:Chset-color-punct|'
0027
39
Template:Chset-color-punct|(
0028
40
Template:Chset-color-punct|)
0029
41
Template:Chset-color-punct|*
002A
42
Template:Chset-color-punct|+
002B
43
Template:Chset-color-punct|,
002C
44
Template:Chset-color-punct|-
002D
45
Template:Chset-color-punct|.
002E
46
Template:Chset-color-punct|/
002F
47
3_ Template:Chset-color-digit|0
0030
48
Template:Chset-color-digit|1
0031
49
Template:Chset-color-digit|2
0032
50
Template:Chset-color-digit|3
0033
51
Template:Chset-color-digit|4
0034
52
Template:Chset-color-digit|5
0035
53
Template:Chset-color-digit|6
0036
54
Template:Chset-color-digit|7
0037
55
Template:Chset-color-digit|8
0038
56
Template:Chset-color-digit|9
0039
57
Template:Chset-color-punct|:
003A
58
Template:Chset-color-punct|;
003B
59
Template:Chset-color-punct|<
003C
60
Template:Chset-color-punct|=
003D
61
Template:Chset-color-punct|>
003E
62
Template:Chset-color-punct|?
003F
63
4_ Template:Chset-color-punct|@
0040
64
Template:Chset-color-alpha|A
0041
65
Template:Chset-color-alpha|B
0042
66
Template:Chset-color-alpha|C
0043
67
Template:Chset-color-alpha|D
0044
68
Template:Chset-color-alpha|E
0045
69
Template:Chset-color-alpha|F
0046
70
Template:Chset-color-alpha|G
0047
71
Template:Chset-color-alpha|H
0048
72
Template:Chset-color-alpha|I
0049
73
Template:Chset-color-alpha|J
004A
74
Template:Chset-color-alpha|K
004B
75
Template:Chset-color-alpha|L
004C
76
Template:Chset-color-alpha|M
004D
77
Template:Chset-color-alpha|N
004E
78
Template:Chset-color-alpha|O
004F
79
5_ Template:Chset-color-alpha|P
0050
80
Template:Chset-color-alpha|Q
0051
81
Template:Chset-color-alpha|R
0052
82
Template:Chset-color-alpha|S
0053
83
Template:Chset-color-alpha|T
0054
84
Template:Chset-color-alpha|U
0055
85
Template:Chset-color-alpha|V
0056
86
Template:Chset-color-alpha|W
0057
87
Template:Chset-color-alpha|X
0058
88
Template:Chset-color-alpha|Y
0059
89
Template:Chset-color-alpha|Z
005A
90
Template:Chset-color-punct|[
005B
91
Template:Chset-color-punct|\
005C
92
Template:Chset-color-punct|]
005D
93
Template:Chset-color-punct|^
005E
94
Template:Chset-color-punct|_
005F
95
6_ Template:Chset-color-intl |Ю
042E
96
Template:Chset-color-intl |А
0410
97
Template:Chset-color-intl |Б
0411
98
Template:Chset-color-intl |Ц
0426
99
Template:Chset-color-intl |Д
0414
100
Template:Chset-color-intl |Е
0415
101
Template:Chset-color-intl |Ф
0424
102
Template:Chset-color-intl |Г
0413
103
Template:Chset-color-intl |Х
0425
104
Template:Chset-color-intl |И
0418
105
Template:Chset-color-intl |Й
0419
106
Template:Chset-color-intl |К
041A
107
Template:Chset-color-intl |Л
041B
108
Template:Chset-color-intl |М
041C
109
Template:Chset-color-intl |Н
041D
110
Template:Chset-color-intl |О
041E
111
7_ Template:Chset-color-intl |П
041F
112
Template:Chset-color-intl |Я
042F
113
Template:Chset-color-intl |Р
0420
114
Template:Chset-color-intl |С
0421
115
Template:Chset-color-intl |Т
0422
116
Template:Chset-color-intl |У
0423
117
Template:Chset-color-intl |Ж
0416
118
Template:Chset-color-intl |В
0412
119
Template:Chset-color-intl |Ь
042C
120
Template:Chset-color-intl |Ы
042B
121
Template:Chset-color-intl |З
0417
122
Template:Chset-color-intl |Ш
0428
123
Template:Chset-color-intl |Э
042D
124
Template:Chset-color-intl |Щ
0429
125
Template:Chset-color-intl |Ч
0427
126
Template:Chset-color-ctrl |DEL
007F
127

The dollar sign character ("$" hex 24), however, was often replaced with the universal currency sign "¤" in Soviet computers. A popular legend has it that this was to demonstrate independence of the American-dominated computer industry — which was ironic, since a significant number of Soviet computers were actually implementations of various American designs.

See also