# KOI-8

**KOI-8**（КОИ-8）是一系列斯拉夫文字的8位元编码，在俄罗斯、乌克兰等斯拉夫语族地区的网络社群中被广泛采用，使用率比起ISO/IEC 8859-5更高。

## 简介

“KOI-8”俄语原名 **Код Обмена Информацией, 8 бит**，音译 *"Kod Obmena Informatsiey 8 bit"*，意译*“信息交换码，8位元”*。

KOI-8 不是以西里尔字母的次序排列，而是以“伪拉丁字母次序”（即把西里尔字母改用拉丁字母转写出来）排列。这能使以 KOI-8 编码的文字，纵使在网络传输时丢掉了最高（第8）位元，仍能够变成可以解读的拉丁字母。例如 "Русский Текст" 在丢掉了最高位元后，变成 "rUSSKIJ tEKST"（即 "Russian Text"，KOI-8把它大小写颠倒以兹识别）。

KOI-8 有以下几个版本：

* KOI8-R（俄语）
* KOI8-U（乌克兰语）
* KOI8-RU（俄语、白俄罗斯语、乌克兰语）
* KOI8-C（高加索语系）
* KOI8-T（塔吉克语）

每个 KOI-8 版本之中，头半部分 (0x00-0x7F) 与ASCII相同，西里尔字母主要放在 0xC0-0xFF 之中，标点及框线符号主要放在 0x80-0xBF 之中。

## KOI8-R 编码

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| 8.
 | ─ 2500 | │ 2502
 | ┌ 250C | ┐ 2510
 | └ 2514 | ┘ 2518
 | ├ 251C | ┤ 2524
 | ┬ 252C | ┴ 2534
 | ┼ 253C | ▀ 2580
 | ▄ 2584 | █ 2588
 | ▌ 258C | ▐ 2590
 |
| 9.
 | ░ 2591 | ▒ 2592
 | ▓ 2593 | ⌠ 2320
 | ■ 25A0 | ∙ 2219
 | √ 221A | ≈ 2248
 | ≤ 2264 | ≥ 2265
 |   A0 | ⌡ 2321
 | ° B0 | ² B2
 | · B7 | ÷ F7
 |
| A.
 | ═ 2550 | ║ 2551
 | ╒ 2552 | ё 451
 | ╓ 2553 | ╔ 2554
 | ╕ 2555 | ╖ 2556
 | ╗ 2557 | ╘ 2558
 | ╙ 2559 | ╚ 255A
 | ╛ 255B | ╜ 255C
 | ╝ 255D | ╞ 255E
 |
| B.
 | ╟ 255F | ╠ 2560
 | ╡ 2561 | Ё 401
 | ╢ 2562 | ╣ 2563
 | ╤ 2564 | ╥ 2565
 | ╦ 2566 | ╧ 2567
 | ╨ 2568 | ╩ 2569
 | ╪ 256A | ╫ 256B
 | ╬ 256C | © A9
 |
| C.
 | ю 44E | а 430
 | б 431 | ц 446
 | д 434 | е 435
 | ф 444 | г 433
 | х 445 | и 438
 | й 439 | к 43A
 | л 43B | м 43C
 | н 43D | о 43E
 |
| D.
 | п 43F | я 44F
 | р 440 | с 441
 | т 442 | у 443
 | ж 436 | в 432
 | ь 44C | ы 44B
 | з 437 | ш 448
 | э 44D | щ 449
 | ч 447 | ъ 44A
 |
| E.
 | Ю 42E | А 410
 | Б 411 | Ц 426
 | Д 414 | Е 415
 | Ф 424 | Г 413
 | Х 425 | И 418
 | Й 419 | К 41A
 | Л 41B | М 41C
 | Н 41D | О 41E
 |
| F.
 | П 41F | Я 42F
 | Р 420 | С 421
 | Т 422 | У 423
 | Ж 416 | В 412
 | Ь 42C | Ы 42B
 | З 417 | Ш 428
 | Э 42D | Щ 429
 | Ч 427 | Ъ 42A
 |

## KOI8-U 编码

只列出与 KOI8-R 不同的区段

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| A.
 | ═ 2550 | ║ 2551
 | ╒ 2552 | ё 451
 | є 454 | ╔ 2554
 | і 456 | ї 457
 | ╗ 2557 | ╘ 2558
 | ╙ 2559 | ╚ 255A
 | ╛ 255B | ґ 491
 | ╝ 255D | ╞ 255E
 |
| B.
 | ╟ 255F | ╠ 2560
 | ╡ 2561 | Ё 401
 | Є 404 | ╣ 2563
 | І 406 | Ї 407
 | ╦ 2566 | ╧ 2567
 | ╨ 2568 | ╩ 2569
 | ╪ 256A | Ґ 490
 | ╬ 256C | © A9
 |

## KOI8-RU 编码

只列出与 KOI8-R 不同的区段

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| A.
 | ═ 2550 | ║ 2551
 | ╒ 2552 | ё 451
 | є 454 | ╔ 2554
 | і 456 | ї 457
 | ╗ 2557 | ╘ 2558
 | ╙ 2559 | ╚ 255A
 | ╛ 255B | ґ 491
 | ў 45E | ╞ 255E
 |
| B.
 | ╟ 255F | ╠ 2560
 | ╡ 2561 | Ё 401
 | Є 404 | ╣ 2563
 | І 406 | Ї 407
 | ╦ 2566 | ╧ 2567
 | ╨ 2568 | ╩ 2569
 | ╪ 256A | Ґ 490
 | Ў 40E | © A9
 |

## KOI8-C 编码

只列出与 KOI8-R 不同的区段

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| 8.
 | ғ 493 | җ 497
 | қ 49B | ҝ 49D
 | ң 4A3 | ү 4AF
 | ұ 4B1 | ҳ 4B3
 | ҷ 4B7 | ҹ 4B9
 | һ 4BB | ▀ 2580
 | ҝ 49D | ӣ 4E3
 | ө 4E9 | ӯ 4EF
 |
| 9.
 | Ғ 492 | Җ 496
 | Қ 49A | Ҝ 49C
 | Ң 4A2 | Ү 4AE
 | Ұ 4B0 | Ҳ 4B2
 | Ҷ 4B6 | Ҹ 4B8
 | Һ 4BA | ⌡ 2321
 | Ә 4D8 | Ӣ 4E2
 | Ө 4E8 | Ӯ 4EE
 |
| A.
 |   A0 | ђ 452
 | ѓ 453 | ё 451
 | є 454 | ѕ 455
 | і 456 | ї 457
 | ј 458 | љ 459
 | њ 45A | ћ 45B
 | ќ 45C | ґ 491
 | ў 45E | џ 45F
 |
| B.
 | № 2116 | Ђ 402
 | Ѓ 403 | Ё 401
 | Є 404 | Ѕ 405
 | І 406 | Ї 407
 | Ј 408 | Љ 409
 | Њ 40A | Ћ 40B
 | Ќ 40C | Ґ 490
 | Ў 40E | Џ 40F
 |

## KOI8-T 编码

只列出与 KOI8-R 不同的区段

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| 8.
 | қ 49B | ғ 493
 | ‚ 201A | Ғ 492
 | „ 201E | … 2026
 | † 2020 | ‡ 2021
 |  | ‰ 2030
 | ҳ 4B3 | ‹ 2039
 | Ҳ 4B2 | ҷ 4B7
 | Ҷ 4B6 |  |
| 9.
 | Қ 49A | ‘ 2018
 | ’ 2019 | “ 201C
 | ” 201D | · 2022
 | – 2013 | — 2014
 |  | ™ 2122
 |  | › 203A
 |  |  |  |  |
| A.
 |  | ӯ 4EF
 | Ӯ 4EE | ё 451
 | ¤ A4 | ӣ 4E3
 | ¦ A6 | § A7
 |  |  |  | « AB
 | ¬ AC | ­ AD
 | ® AE |  |
| B.
 | ° B0 | ± B1
 | ² B2 | Ё 401
 |  | Ӣ 4E2
 | ¶ B6 | · B7
 |  | № 2116
 |  | » BB
 |  |  |  | © A9
 |

## KOI8-O, KOI8-C (the Slav, old orthography)

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| 8.
 | Ђ 402
 | Ѓ 403
 | ¸ B8
 | ѓ 453
 | „ 201E
 | … 2026
 | † 2020
 | § A7
 | € 20AC
 | ¨ A8
 | Љ 409
 | ‹ 2039
 | Њ 40A
 | Ќ 40C
 | Ћ 40B
 | Џ 40F
 |
| 9.
 | ђ 452
 | ‘ 2018
 | ’ 2019
 | “ 201C
 | ” 201D
 | · 2022
 | – 2013
 | — 2014
 | £ A3
 | · B7
 | љ 459
 | › 203A
 | њ 45A
 | ќ 45C
 | ћ 45B
 | џ 45F
 |
| A.
 |   A0
 | ѵ 475
 | ѣ 463
 | ё 451
 | є 454
 | ѕ 455
 | і 456
 | ї 457
 | ј 458
 | ® AE
 | ™ 2122
 | « AB
 | ѳ 473
 | ґ 491
 | ў 45E
 | ´ B4
 |
| B.
 | ° B0
 | Ѵ 474
 | Ѣ 462
 | Ё 401
 | Є 404
 | Ѕ 405
 | І 406
 | Ї 407
 | Ј 408
 | № 2116
 | ¢ A2
 | » BB
 | Ѳ 472
 | Ґ 490
 | Ў 40E
 | © A9
 |

## ISO-IR-111, koi8-e 编码

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| A.
 |   A0
 | ђ 452
 | ѓ 453
 | ё 451
 | є 454
 | ѕ 455
 | і 456
 | ї 457
 | ј 458
 | љ 459
 | њ 45A
 | ћ 45B
 | ќ 45C
 | ­ AD
 | ў 45E
 | џ 45F
 |
| B.
 | № 2116
 | Ђ 402
 | Ѓ 403
 | Ё 401
 | Є 404
 | Ѕ 405
 | І 406
 | Ї 407
 | Ј 408
 | Љ 409
 | Њ 40A
 | Ћ 40B
 | Ќ 40C
 | ¤ A4
 | Ў 40E
 | Џ 40F
 |

## KOI8-Unified, koi8-f 编码

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  | .0 | .1
 | .2 | .3
 | .4 | .5
 | .6 | .7
 | .8 | .9
 | .A | .B
 | .C | .D
 | .E | .F
 |
| 8.
 | ─ 2500
 | │ 2502
 | ┌ 250C
 | ┐ 2510
 | └ 2514
 | ┘ 2518
 | ├ 251C
 | ┤ 2524
 | ┬ 252C
 | ┴ 2534
 | ┼ 253C
 | ▀ 2580
 | ▄ 2584
 | █ 2588
 | ▌ 258C
 | ▐ 2590
 |
| 9.
 | ░ 2591
 | ‘ 2018
 | ’ 2019
 | “ 201C
 | ” 201D
 | · 2022
 | – 2013
 | — 2014
 | © A9
 | ™ 2122
 |   A0
 | » BB
 | ® AE
 | « AB
 | · B7
 | ¤ A4
 |
| A.
 |   A0
 | ђ 452
 | ѓ 453
 | ё 451
 | є 454
 | ѕ 455
 | і 456
 | ї 457
 | ј 458
 | љ 459
 | њ 45A
 | ћ 45B
 | ќ 45C
 | ґ 491
 | ў 45E
 | џ 45F
 |
| B.
 | № 2116
 | Ђ 402
 | Ѓ 403
 | Ё 401
 | Є 404
 | Ѕ 405
 | І 406
 | Ї 407
 | Ј 408
 | Љ 409
 | Њ 40A
 | Ћ 40B
 | Ќ 40C
 | Ґ 490
 | Ў 40E
 | Џ 40F
 |

## 参看

* 西里尔字母

* RFC 1489 *KOI8-R*
* RFC 2319 *KOI8-U*
* KOI8-U Working Group
* KOI8-U - Ukrainian Character Set
* KOI8-RU - Ukrainian Net Character Set
* The Home of KOI8-R （页面存档备份，存于互联网档案馆）
* The Cyrillic Character Soup（页面存档备份，存于互联网档案馆）