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.
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 (КОИ-8).
The family members are:
- KOI8-R / KOI8-RUSSIA for Russian and Bulgarian. (RFC 1489[1])
- KOI8-U / KOI8-UKRAINE and KOI8-RU for Ukrainian, Belorussian and Russian. (RFC 2319[1])
- KOI8-T for Tajik.
- KOI8-E / KOI8-CYRILLIC (GOST 19768-74 Roman / Cyrillic)[1]
- KOI8-CS[2] 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 (КОИ-7) code page, which does not contain lowercase letters. In KOI7, the codes of the 31 Russian uppercase letters are their KOI8 codes with the most significant bit cleared. Other code points are the same as in ASCII.
Referenes
- 1 2 3 da Cruz, Frank (2010-04-02). "Kermit and MIME Character-Set Names". The Kermit Project. Columbia University, New York, USA. Archived from the original on 2016-12-02. Retrieved 2016-12-02.
- ↑
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