Jump to content

KOI-8

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Beland (talk | contribs) at 12:23, 20 July 2020 (convert special characters (via WP:JWB)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

KOI-8
Language(s)Russian (basic support)
StandardGOST 19768-74
ClassificationExtended ISO 646, KOI
ExtensionsKOI8-B (KOI8-R, KOI8-U, KOI8-RU, KOI8-T, ISO-IR-111, KOI8-F)
Transforms / EncodesISO 646:IRV (lower)
KOI-7 N1 (upper)
Preceded byKOI-7
Succeeded byST SEV 358-88 (ISO-IR-153)
Other related encoding(s)INIS Cyrillic

KOI-8 (КОИ-8) is an 8-bit character set standardized in GOST 19768-74.[1][2] It is an extension of KOI-7 which allows the use of the Latin alphabet along with the Russian alphabet, both the upper and lower case letters, however, the letter Ёё and the uppercase Ъ are missed, the latter to avoid conflicts with the delete character (both are added in most extensions, see KOI8-B). The first 127 code points are identical to ASCII with the exception of the dollar sign $ (code point 24hex) replaced by the universal currency sign ¤. The rows x8_ and x9_ (code points 128–159) might be filled with the additional control characters from EBCDIC (code points 32–63).

This standard has become the base for the later Internet standards such as KOI8-R, KOI8-U, KOI8-RU and all the other derivatives.

Character set

The following table shows the KOI-8 encoding. Each character is shown with its equivalent Unicode code point.

KOI-8[3]
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F
0_
0
Template:Chset-color-ctrl|NUL
0000
Template:Chset-color-ctrl|SOH
0001
Template:Chset-color-ctrl|STX
0002
Template:Chset-color-ctrl|ETX
0003
Template:Chset-color-ctrl|EOT
0004
Template:Chset-color-ctrl|ENQ
0005
Template:Chset-color-ctrl|ACK
0006
Template:Chset-color-ctrl|BEL
0007
Template:Chset-color-ctrl|BS
0008
Template:Chset-color-ctrl|HT
0009
Template:Chset-color-ctrl|LF
000A
Template:Chset-color-ctrl|VT
000B
Template:Chset-color-ctrl|FF
000C
Template:Chset-color-ctrl|CR
000D
Template:Chset-color-ctrl|SO
000E
Template:Chset-color-ctrl|SI
000F
1_
16
Template:Chset-color-ctrl|DLE
0010
Template:Chset-color-ctrl|DC1
0011
Template:Chset-color-ctrl|DC2
0012
Template:Chset-color-ctrl|DC3
0013
Template:Chset-color-ctrl|DC4
0014
Template:Chset-color-ctrl|NAK
0015
Template:Chset-color-ctrl|SYN
0016
Template:Chset-color-ctrl|ETB
0017
Template:Chset-color-ctrl|CAN
0018
Template:Chset-color-ctrl|EM
0019
Template:Chset-color-ctrl|SUB
001A
Template:Chset-color-ctrl|ESC
001B
Template:Chset-color-ctrl|FS
001C
Template:Chset-color-ctrl|GS
001D
Template:Chset-color-ctrl|RS
001E
Template:Chset-color-ctrl|US
001F
2_
32
Template:Chset-color-misc|SP
0020
Template:Chset-color-punct|!
0021
Template:Chset-color-punct|"
0022
Template:Chset-color-punct|#
0023
Template:Chset-color-graph|¤/$[a]
00A4/0024
Template:Chset-color-punct|%
0025
Template:Chset-color-punct|&
0026
Template:Chset-color-punct|'
0027
Template:Chset-color-punct|(
0028
Template:Chset-color-punct|)
0029
Template:Chset-color-punct|*
002A
Template:Chset-color-graph|+
002B
Template:Chset-color-punct|,
002C
Template:Chset-color-punct|-
002D
Template:Chset-color-punct|.
002E
Template:Chset-color-punct|/
002F
3_
48
Template:Chset-color-digit|0
0030
Template:Chset-color-digit|1
0031
Template:Chset-color-digit|2
0032
Template:Chset-color-digit|3
0033
Template:Chset-color-digit|4
0034
Template:Chset-color-digit|5
0035
Template:Chset-color-digit|6
0036
Template:Chset-color-digit|7
0037
Template:Chset-color-digit|8
0038
Template:Chset-color-digit|9
0039
Template:Chset-color-punct|:
003A
Template:Chset-color-punct|;
003B
Template:Chset-color-graph|<
003C
Template:Chset-color-graph|=
003D
Template:Chset-color-graph|>
003E
Template:Chset-color-punct|?
003F
4_
64
Template:Chset-color-punct|@
0040
Template:Chset-color-letter|A
0041
Template:Chset-color-letter|B
0042
Template:Chset-color-letter|C
0043
Template:Chset-color-letter|D
0044
Template:Chset-color-letter|E
0045
Template:Chset-color-letter|F
0046
Template:Chset-color-letter|G
0047
Template:Chset-color-letter|H
0048
Template:Chset-color-letter|I
0049
Template:Chset-color-letter|J
004A
Template:Chset-color-letter|K
004B
Template:Chset-color-letter|L
004C
Template:Chset-color-letter|M
004D
Template:Chset-color-letter|N
004E
Template:Chset-color-letter|O
004F
5_
80
Template:Chset-color-letter|P
0050
Template:Chset-color-letter|Q
0051
Template:Chset-color-letter|R
0052
Template:Chset-color-letter|S
0053
Template:Chset-color-letter|T
0054
Template:Chset-color-letter|U
0055
Template:Chset-color-letter|V
0056
Template:Chset-color-letter|W
0057
Template:Chset-color-letter|X
0058
Template:Chset-color-letter|Y
0059
Template:Chset-color-letter|Z
005A
Template:Chset-color-punct|[
005B
Template:Chset-color-punct|\
005C
Template:Chset-color-punct|]
005D
Template:Chset-color-graph|^
005E
Template:Chset-color-punct|_
005F
6_
96
Template:Chset-color-graph|`
0060
Template:Chset-color-letter|a
0061
Template:Chset-color-letter|b
0062
Template:Chset-color-letter|c
0063
Template:Chset-color-letter|d
0064
Template:Chset-color-letter|e
0065
Template:Chset-color-letter|f
0066
Template:Chset-color-letter|g
0067
Template:Chset-color-letter|h
0068
Template:Chset-color-letter|i
0069
Template:Chset-color-letter|j
006A
Template:Chset-color-letter|k
006B
Template:Chset-color-letter|l
006C
Template:Chset-color-letter|m
006D
Template:Chset-color-letter|n
006E
Template:Chset-color-letter|o
006F
7_
112
Template:Chset-color-letter|p
0070
Template:Chset-color-letter|q
0071
Template:Chset-color-letter|r
0072
Template:Chset-color-letter|s
0073
Template:Chset-color-letter|t
0074
Template:Chset-color-letter|u
0075
Template:Chset-color-letter|v
0076
Template:Chset-color-letter|w
0077
Template:Chset-color-letter|x
0078
Template:Chset-color-letter|y
0079
Template:Chset-color-letter|z
007A
Template:Chset-color-punct|{
007B
Template:Chset-color-graph||
007C
Template:Chset-color-punct|}
007D
Template:Chset-color-graph|~
007E
Template:Chset-color-ctrl|DEL
007F
8_
128
Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef|
9_
144
Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef|
A_
160
Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef|
B_
176
Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef| Template:Chset-color-undef|
C_
192
Template:Chset-color-letter|ю
044E
Template:Chset-color-letter|а
0430
Template:Chset-color-letter|б
0431
Template:Chset-color-letter|ц
0446
Template:Chset-color-letter|д
0434
Template:Chset-color-letter|е
0435
Template:Chset-color-letter|ф
0444
Template:Chset-color-letter|г
0433
Template:Chset-color-letter|х
0445
Template:Chset-color-letter|и
0438
Template:Chset-color-letter|й
0439
Template:Chset-color-letter|к
043A
Template:Chset-color-letter|л
043B
Template:Chset-color-letter|м
043C
Template:Chset-color-letter|н
043D
Template:Chset-color-letter|о
043E
D_
208
Template:Chset-color-letter|п
043F
Template:Chset-color-letter|я
044F
Template:Chset-color-letter|р
0440
Template:Chset-color-letter|с
0441
Template:Chset-color-letter|т
0442
Template:Chset-color-letter|у
0443
Template:Chset-color-letter|ж
0436
Template:Chset-color-letter|в
0432
Template:Chset-color-letter|ь
044C
Template:Chset-color-letter|ы
044B
Template:Chset-color-letter|з
0437
Template:Chset-color-letter|ш
0448
Template:Chset-color-letter|э
044D
Template:Chset-color-letter|щ
0449
Template:Chset-color-letter|ч
0447
Template:Chset-color-letter|ъ
044A
E_
224
Template:Chset-color-letter|Ю
042E
Template:Chset-color-letter|А
0410
Template:Chset-color-letter|Б
0411
Template:Chset-color-letter|Ц
0426
Template:Chset-color-letter|Д
0414
Template:Chset-color-letter|Е
0415
Template:Chset-color-letter|Ф
0424
Template:Chset-color-letter|Г
0413
Template:Chset-color-letter|Х
0425
Template:Chset-color-letter|И
0418
Template:Chset-color-letter|Й
0419
Template:Chset-color-letter|К
041A
Template:Chset-color-letter|Л
041B
Template:Chset-color-letter|М
041C
Template:Chset-color-letter|Н
041D
Template:Chset-color-letter|О
041E
F_
240
Template:Chset-color-letter|П
041F
Template:Chset-color-letter|Я
042F
Template:Chset-color-letter|Р
0420
Template:Chset-color-letter|С
0421
Template:Chset-color-letter|Т
0422
Template:Chset-color-letter|У
0423
Template:Chset-color-letter|Ж
0416
Template:Chset-color-letter|В
0412
Template:Chset-color-letter|Ь
042C
Template:Chset-color-letter|Ы
042B
Template:Chset-color-letter|З
0417
Template:Chset-color-letter|Ш
0428
Template:Chset-color-letter|Э
042D
Template:Chset-color-letter|Щ
0429
Template:Chset-color-letter|Ч
0427
Template:Chset-color-undef|

  Letter  Number  Punctuation  Symbol  Other  Undefined

See also

Footnotes

  1. ^ Originally given as an international currency sign to match the ISO 646 IRV, which has itself since been changed to match ASCII in giving it as a dollar sign. KOI-8 variants and extensions in use tend to match ASCII here, see for example RFC 2319.

References

  1. ^ (in Russian) ГОСТ 19768-74 (СТ СЭВ 358-76). Машины вычислительные и система обработки данных. Коды 8-битные для обмена и обработки информации.
  2. ^ (in Russian) Маркелова Л. Н. Эксплуатация программоуправляемой вычислительной машины «Искра 226». — М.: Машиностроение, 1987. — С. 41—42.
  3. ^ "Locale::RecodeData::KOI_8 - search.cpan.org". search.cpan.org.