After command: M-x set-default-font -*-koi8-u it dosn\'t show ukrainian (not from koi8-r) symbols correctly... --- ---
in emacs-21.2-alt10 by refining the regexp for koi8-r font encoding: --- emacs-21.2.orig/lisp/language/cyrillic.el Fri Apr 12 21:07:11 2002 +++ emacs-21.2/lisp/language/cyrillic.el Sun Apr 14 12:35:50 2002 @@ -222,7 +222,8 @@ \"CCL program to encode Cyrillic chars to KOI font.\") (setq font-ccl-encoder-alist - (cons \'(\"koi8\" . ccl-encode-koi8-font) font-ccl-encoder-alist)) + (cons \'(\"koi8-\\\\(1\\\\|r\\\\)\" . ccl-encode-koi8-font) font-ccl-encoder-alist)) +; We need a finer regexp to display Ukrainian correctly (with koi8-u). (set-language-info-alist \"Cyrillic-KOI8\" `((tutorial . \"TUTORIAL.ru\")
In fact, it\'d be nice if no matter what the default fontset/font is, the Ukrainian letters would be displayed correctly unless the X font with them (koi8-u, cp1251, iso8859-5) is unavailable.
emacs-21.2-alt14: if iso8859-5, or cp1251, or koi8-u fonts are available (in this prefernce order), emacs uses them for Cyrillic. And thus displays ukrainina letters correctly (no matter what the font encoding in the fontset specification is). only if no such fonts are available, koi8-r fonts are used.