Bug 997 - Problems with showing ukrainian letters.
: Problems with showing ukrainian letters.
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/emacs-common)
: unstable
: all Linux
: P4 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2002-06-13 16:58 by
Modified: 2005-09-04 21:42 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2002-06-13 16:58:57
After command:
M-x set-default-font -*-koi8-u
it dosn\'t show ukrainian (not from koi8-r) symbols correctly...
---

---

------- Comment #1 From 2002-11-09 20:57:59 -------
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\")
------- Comment #2 From 2002-11-09 20:57:59 -------
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\")
------- Comment #3 From 2003-02-10 22:07:24 -------
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.
------- Comment #4 From 2003-02-10 22:07:24 -------
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.
------- Comment #5 From 2003-02-11 03:00:15 -------
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.
------- Comment #6 From 2003-02-11 03:00:15 -------
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.