KOI-7

Short KOI
KermitSHORT-KOI
Alias(es)KOI-7 N2, ВКД
Language(s)Russian
StandardGOST 13052, GOST 27463
Classification7-bit KOI encoding
Preceded byMTK-2
Succeeded byKOI-8
Other related encoding(s)YUSCII, ISO 646
KOI-7 Switched
MIME / IANAKOI7-switched
Alias(es)csKOI7switched
Language(s)Russian
StandardGOST 13052, GOST 27463
Classification7-bit stateful KOI encoding
Transforms / EncodesISO 646:IRV (shift-in)
KOI-7 N1 (shift-out)
Preceded byMTK-2
Succeeded byKOI-8
Other related encoding(s)YUSCII, ISO 5427

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]

It was first standardized in GOST 13052-67 (with the 2nd revision GOST 13052-74 / ST SEV 356-76) and GOST 27463-87 / ST SEV 356-86.

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 [ru] (Elektronika D3-28) as four-digit hexadecimal code, БЭСМ-6 [ru] (BESM-6), where it was called ВКД, (internal data code). The encodings were also used on RSX-11, RT-11 and similar systems.[4]

  1. ^ Cite error: The named reference GOST-27463-87 was invoked but never defined (see the help page).
  2. ^ a b Cite error: The named reference Sokolov_2004_KOI7-switched was invoked but never defined (see the help page).
  3. ^ Cite error: The named reference IANA_2013 was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference Nechayev_2013_8-Bit-Cyrillic was invoked but never defined (see the help page).