KOI-7
KOI-7 (КОИ-7) is a 7-bit character encoding, designed to cover Russian, which uses the Cyrillic alphabet.
In Russian, KOI-7 stands for Kod Obmena Informatsiey, 7 bit (Код Обмена Информацией, 7 бит) which means "Code for Information Exchange, 7 bit".[1]
Shift Out (SO) and Shift In (SI) control characters are used in KOI-7, where SO starts printing Russian letters (KOI-7 N1), and SI starts printing Latin letters again (KOI-7 N0), or for lowercase and uppercase switching. This version is also known as KOI7-switched aka csKOI7switched.[2][3]
On ISO 2022 compatible computer terminals KOI7-switched can be activated by the escape sequence ESC ( @ ESC ) N LS0
.[2]
KOI-7 was used on machines like the SM EVM (СМ ЭВМ) and DVK (ДВК); KOI-7 N2 was utilized in the machine-language of the Электроника Д3-28 (Elektronika D3-28) as four-digit hexadecimal code, БЭСМ-6 (BESM-6), where it was called ВКД, internal data code).
KOI-7 N0
KOI-7 N0[2] (КОИ-7 Н2[1]) is identical to the IRV set in ISO 646:1983.[2] Compared to US-ASCII, the dollar sign ("$") at codepoint 24hex) was replaced by the universal currency sign "¤", but this wasn't maintained in all cases, in particular not after the fall of the Iron Curtain. Likewise, the IRV set in ISO/IEC 646:1991 also changed the character back to a dollar sign.
Letter Number Punctuation Symbol Other Undefined
KOI-7 N1
KOI-7 N1 (КОИ-7 Н1[1]) was first standardized in GOST 13052,[4][5] and later also in ISO 5427.[2] It is sometimes referred to as "koi-0" as well.[5]
Compared to ASCII and ISO 646 uppercase and lowercase letters are swapped in order to make it easier to recognize Russian text when presented using ASCII.[5]
To trim the alphabet into chunks of 32 characters the dotted Ё/ë was dropped.[5] In order to avoid conflicts with ASCII's and ISO 646's definition as DEL and its usage as EOF marker (-1) in some systems, it dropped the "CAPITAL HARD SIGN" Ъ that would have naturally resided at this location.[5]
In a Bulgarian variant the unnecessary Russian "CAPITAL YERY" Ы at codepoint 121 was replaced by the "CAPITAL HARD SIGN" Ъ.[5]
Letter Number Punctuation Symbol Other Undefined
KOI-7 N2
KOI-7 N2 (КОИ-7 Н2[1]) GOST 19768-74 Kermit names it SHORT-KOI.[6]
Letter Number Punctuation Symbol Other Undefined
See also
References
- ^ a b c d ГОСТ 27463-87. Системы обработки информации. 7-битные кодированные наборы символов (с Изменением N 1) [GOST 27463-87. Information processing systems. 7-bit coded character sets] (in Russian). Госстандарт СССР. 1987-10-29. Archived from the original on 2016-12-02. Retrieved 2016-12-02.
{{cite book}}
:|archive-date=
/|archive-url=
timestamp mismatch; 2016-12-03 suggested (help); Cite has empty unknown parameter:|1=
(help); Unknown parameter|dead-url=
ignored (|url-status=
suggested) (help) - ^ a b c d e Sokolov, Michael (2004-01-23). "Charset name: KOI7-switched". International Free Computing Task Force (IFCTF). Archived from the original on 2016-12-02. Retrieved 2016-12-02.
{{cite web}}
:|archive-date=
/|archive-url=
timestamp mismatch; 2016-12-03 suggested (help); Unknown parameter|dead-url=
ignored (|url-status=
suggested) (help) - ^ Freed, Ned; Dürst, Martin, eds. (2013-12-20). "Character Sets". RFC2978. Archived from the original on 2016-12-03. Retrieved 2016-12-03.
{{cite web}}
: Unknown parameter|dead-url=
ignored (|url-status=
suggested) (help) - ^ Clews, John (1988). Language Automation Worldwide - The Development of Character Set Standards (1 ed.). Sesame Computer Projects. ISBN 1-87009501-4. ISBN 978-1-87009501-3.
- ^ a b c d e f Czyborra, Roman (1998-11-30) [1998-05-25]. "The Cyrillic Charset Soup". Archived from the original on 2016-12-03. Retrieved 2016-12-03.
{{cite web}}
: Unknown parameter|dead-url=
ignored (|url-status=
suggested) (help) [1] [2] [3] [4] - ^ 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.
{{cite web}}
:|archive-date=
/|archive-url=
timestamp mismatch; 2016-12-03 suggested (help); Unknown parameter|dead-url=
ignored (|url-status=
suggested) (help)