KOI character encodings
KOI is a family of several code pages for the Cyrillic script. The name stands for Kod Obmena Informatsiey (Russian: Код Обмена Информацией) which means "Code for Information Exchange".
A particular feature of the KOI code pages is that the text remains human-readable when the leftmost bit is stripped, should it inadvertently pass through equipment or software that can only deal with 7 bit wide characters. This is due to characters being placed in a special order (128 codepoints apart from the Latin letter they look most similar to), which, however, does not correspond to the alphabetic order in any language that is written in Cyrillic and necessitates the use of lookup tables to perform sorting.
These encodings are derived from ASCII on the base of some correspondence between Latin and Cyrillic (nearly phonetical), which was already used in Russian dialect of Morse code and in MTK-2 telegraph code.
Contents
KOI8
Modern KOI code pages are 8-bit extensions of ASCII. This family of encodings is also known as KOI8, KOI 8 and KOI-8.
The family members are:
- KOI8-R for Russian and Bulgarian.
- KOI8-U and KOI8-RU for Ukrainian, Belorussian and Russian.
- KOI8-T for Tajik.
- KOI8-CS[1] for Czech and Slovak (ČSN (Czech technical standard) 369103. Devised by the Comecon. This encoded Latin with diacritics, as used in Czech and Slovak, rather than Cyrillic, but the basic idea was the same - text should remain legible with the 8-th bit cleared, thus e.g. Č became C etc.).
- KOI8-O for Old Russian.
KOI7
There is also an obsolete 7-bit KOI7 code page, which does not contain lowercase letters. Codes of 31 Russian uppercase letters are just their KOI8 codes with the most significant bit cleared. Other code points are the same as in ASCII.
External links
- http://koi8.pp.ru/main.html
- http://www.orwell.ru/info/cyrsoup
- http://czyborra.com/charsets/cyrillic.html
- http://www.iis.ru/cyrillic/resource/tables.en.html