KOI7

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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[edit]

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