Table of Contents   Frames ON 

Welcome to the Home of KOI8-R - Russian Net Character Set!

Please bookmark main URL only: http://www.nagual.pp.ru/~ache/koi8.html, URL's inside can be changed without a notice!

DISCLAIMER: All material here are a result of my personal independent research and other peoples contributions, any company I am with is not responsible for them.

Relcom Co.
Main sponsor

This space still available for rent, contact me if you are interested.
( 400+ peoples per day will see your logo!)

Mirrors

This page at http://www.nagual.pp.ru/~ache/koi8.html (original site in Moscow, Russia) is mirrored, use a near-by mirror for faster access.

Following mirrors updated daily (I hope):

See my requirements if you want to be a mirror too. Don't use any other mirrors not from this list, it means they work not right enough to be approved.


What is KOI8-R?

KOI8-R is a living de facto standard of Internet Mail/News exchange, WWW browsing and other interactive services in Russian spread at least all over ex-SU territory.

NOTE: It was designed for Russian/English languages and covers only Russian Cyrillic characters, so if you are seeking Ukrainian, Belorussian, etc. Cyrillic characters, try ISO-IR-111 from ECMA registry instead, it matches KOI8-R in common (letters) area.
WARNING: RFC 1345 has the wrong definition of ISO-IR-111 (as of some other Russian character sets too, GOST_19768-74 f.e.) so don't relay on it, better ask for free paper copy directly from ECMA.

Main KOI8-R standard documents:


KOI8-R Visualized & on-line browsers testing

  1. See upper half of KOI8-R code table and compare it with your browser results.

  2. See special HTML characters in KOI8-R encoding with your browser.

  3. Check some interesting variables your browser passes to HTTPD.

  4. Check Russian <FORM> handling in your browser.

  5. Check how your browser operates with Russian <TITLE> pages using this TITLE test page.
  6. Go to this ALT tag test page and reload it several times until you catch ALT= image description before image itself becomes loaded. If your browser supports ALT= tags charset properly, you'll see Russian text (the same as at the image), if not - some cryptic letters.
  7. According to Internationalization of the Hypertext Markup Language (RFC 2070) charset= from HTTP header must overwrite charset= from <META ...> tag. Load this test page with two different HTTP header and META charsets and try to check, what really happens. If your browser do it correctly, you'll see KOI8-R text and not some junk in windows-1251. Don't trust your screen mutch, better check Document Info or Document Encoding box to see actual charset.
  8. When Cyrillic(KOI8-R) is set as Document Encoding for old versions of Netscape (or it is default encoding by Set Default), most of text-oriented Java applets works incorrectly, i.e. it looks like <PARAM> tags not passed to applet at all. NullPointerException becomes most frequent error. It can be healed by setting Document Encoding to Western(Latin1), but it is only workaround of real bug. Check your browser behaviour with NewsLine applet (among many others from Gamelan Text applets list).

Browsers comparative table

Tests: Font Special Chars FORM Input Title ALT= text ACCEPT_
CHARSET
META charset= Text Java applets HTTP over META
Netscape 3.01 (MS Windows) (*) YesNoYesNoNoNoYesNoNo
Netscape 4.0b2 (MS Win95) YesYesNoNoYesNoYesYesNo
Netscape 3.01 (X11) (1*) YesNoNoYes (2)YesNoYesNoNo
Netscape 4.0b2 (X11) (*) YesNoNoYes (2)YesNoYesYesNo
MS Internet Explorer 3.02 YesYesNoNoNoNoYesYesNo
Lynx 2.7 (3*) N/AYesYesYesYesYesYesN/AYes
Tango 2.5 YesYesYesYesYesNoYesN/AYes
Ariadna 1.2b3 Broken (4)YesYesYesN/ANoYesYesNo

(*) KOI8-R fonts required:

Win3.* or Win95
Win3.* KOI8-R fonts
Win95
GDI.EXE KOI8-R fix
X11
X11 KOI8-R fonts
Text mode
EGA/VGA screen fonts or VT100 KOI8-R fonts

(1) additional non-standard tuning required

(2) depends on your Window Manager window titles settings

(3) text-mode browser, your terminal must have pre-loaded KOI8-R text fonts

(4) only letters area is valid, special characters are wrong

If you test other browsers, please send me results to include them here.


Standard Russian keyboard layout except Ё/ё letters (on ~/` key) and special characters from upper keys row.
[Keyboard Picture]


[HTML/HTTP]

How to create and handle Russian HTML documents


Windows v3.* Stuff

How to setup Win3.11 for KOI8-R properly:

Fonts:

NOTE: All fonts below are hacked in WFWG 3.11 or Win95 sense: unlike true Cyrillic CP1251 WFWG 3.11 fonts they have KOI8-R characters in place of ISO 8859-1 characters instead of Unicode place for Russian characters.

After downloading/unzipping add them using standard Windows procedure, i.e. via Control Panel|Fonts.

Keyboard Switchers:

ATTENTION: All keyboard switchers mentioned here (except WinKey) have CP1251 character set by default, not KOI8-R! You need to download and install corresponding keyboard descriptions from below in addition to fonts from above to tune the switchers for KOI8-R.

Recommended: ParaWin 2.0 or CyrWin 4.0 (better), both commercial.

You can find ParaWin 2.0 on Russian CD with title: Сборник программ для MICROSOFT WINDOWS, volume #1. You can find CyrWin 4.0 on the volume #3 of the same same CD line.

CyrWin 4.0 is able to switch font groups in addition to keyboards.

KOI8-R Keyboard Descriptions for Switchers:

Applicable Software:

Software Tuning:


Windows 95 Stuff

For Win95 Standard Edition you need to make sure you installed Multilanguage Support. Go to Control Panel|Add/Remove Programs, check the Windows Setup tab and make sure MultiLanguage Support is checked. (It is not included with the diskette version of Win95, so if you installed from diskettes, download MutliLanguage Support from Microsoft). Then choose Russian in Control Panel|Regional Setting.

For Win95 Russian Edition and PanEuropean Edition you don't need Multilanguage support.

It seems that Win95 has stricter requirements to the fonts, it expect all font varations (i.e. Bold, Italic, Bold Italic) must exists and fonts with Normal variation only display blanks for missing variations.

If you can add something valuable to this section, please, drop me a note.

How to setup Win95 for KOI8-R properly:

Fonts:

BTW, there is useful tool to display additional .TTF font properties including character set and code pages into font properties dialog box, check Windows 95 font properties extension.

Keyboard Setup:

Charset Converters:

Proxy:

Using proxies you don't need KOI8-R fonts and keyboard in most cases because Windows Russian support used, but see my notes about decode tables & proxy methods.

Applicable Software:

ATTENTION: this list includes only 32bit soft and since 16bit soft usually works under Win95, look at Win3.* Applicable Software section too. For most of 16bit soft GDI.EXE KOI8-R hack works too via win.ini aliases.

Software Tuning:


X Window Stuff

Fonts:

Locales:

Keyboard:

Only latest X11R6 and XFree86 betas are able to enter KOI8-R keys correctly (in terms of X11 localizations) using Cyrillic_* keysyms, lets call it true method. For other versions so-called Xmodmap hacking method is available when ISO 8859-1 keysyms cheating used to mimic KOI8-R keycodes like ISO 8859-1 keycodes. X11 developers are strongly against this method, so you should avoid to use it when possible.

XFree86 3.2 (true method)
This version is almost ready to work correctly with KOI8-R keys when Cyrillic_* keysyms used (f.e. in XKB mode), but you need to apply these two patches (patch1 (subset of R6.3 fix-01) and patch2) to 3.2 source code to make it working completely. This patches will be included in future X11R6 and XFree86 releases.

WARNING: Not all applications will work with KOI8-R keyboard, application must be at least minimally localized according to X11R6 main strategy. To make your application minimally localized you need to call XtSetLanguageProc (NULLNULLNULL); early in the program.

I rewrite standard Russian XKB keyboard description to procude this variant which is more comfortable for me. CapsLock used here for mode switch and Shift+CapsLock for old CapsLock function (only in Latin mode). If you decide to use it, place downloaded file under /usr/X11R6/lib/X11/xkb/symbols/ru name.

To activate Russian keyboard add

XkbKeymap "xfree86(ru)"

line to "Keyboard" section of your /etc/XF86Config configuration file. Also check that XkbDisable is turned off (commented) there.

XFree86 3.1.2 (hacking method)
Place XFree86 3.1.2 keyboard mapping table into /usr/X11R6/lib/X11/xinit/.Xmodmap, then switch to/from russian (KOI8-R) keyboard via CapsLock (after X (re)started). I assume that you use default xinitrc or your $HOME/.xinitrc picks .Xmodmap too. If it doesn't work for you, enter xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap directly. If you can't modify system directories, just place the file into any directory and call xmodmap there.

X86 OpenWindows (hacking method)
Try this X86 OpenWindows keyboard mapping table.

Other (hacking method)
Xruskb by A. Lukyanov is keyboard switcher program, it also place RUS/LAT icon on desktop to indicate current mode.

WARNING: For all Xmodmap hacking methods control keys don't work when Russian mode is active, it is a known feature.

Applicable Software:

Software Tuning:


DOS Stuff

Keyboard & Screen Drivers:

Charset Converters:

Applicable Software:

Software Tuning:


OS/2 Stuff

For some sort of general instructions see KOI8 support in OS/2.

I don't have enough materials, please contribute to this section.

Applicable Software:


Windows NT Stuff

I don't have enough materials, please contribute to this section.

Programmers probably can find something useful in Cp_20866.nls resource description, but I am not sure...

Fonts:

Win3.* KOI8-R fonts should work with NT too. I don't know how to utilize NT's UNICODE fonts.

Keyboard Drivers:

Charset Converters:

Applicable Software:

ATTENTION: this list includes only 32bit soft and since 16bit soft usually works under WinNT, look at Win3.* Applicable Software section too.

Software Tuning:


UNIX Stuff

Fonts:

Keyboard & Screen Drivers:

Charset Converters:

Proxy:

Locales:

Applicable Software:

Software Tuning:


Macintosh Stuff

I don't have a Mac available, so can't comment on following materials... Use MacOS and KOI8-R and Russification of Macintosh links for more info.

Keyboard & Screen Drivers:

Software Tuning:


Miscellaneous Resources


Contacts

Send your impressions, corrections and ideas by E-Mail to: Andrey A. Chernov.
Please, correct my English, if you find something written inaccurately.


My Guestbook (visit it)

My Home Page

Donations

Software rusification and this page maintaining constantly eats my time and resources... If you find this stuff useful and offer some money donation (hardware, books, girls also accepted), it allows me to intensify my efforts. E-Mail me in this case to discuss donation ways.


Credits

I want to say special thanks to people who help me to improve this page or contribute some materials, look at the list of contributors.


Return to Main Page

Copyright © 1995-97 by Andrey A. Chernov, Moscow, Russia.