emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cyrillic, utf-8 and windows


From: Sam Steingold
Subject: Cyrillic, utf-8 and windows
Date: Mon, 08 Dec 2003 13:39:32 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt)

GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
 of 2003-11-20 on WINSTEINGOLDLAP
--with-msvc (12.00)

I can open in Emacs a utf-8 file with Cyrillic characters in it and it
is displayed just fine - with correct glyphs &c.
I set `default-input-method' to "cyrillic-yawerty" in .emacs,
so when I try C-\ `toggle-input-method', I get 2 "character outline
boxes" in the modeline and when I type, I see these "character outline
boxes" in the buffer instead of the characters I just typed.
When I save the buffer, kill it, and re-visit the file,
I see what I just typed displayed correctly as Cyrillic!
So, why does Emacs display the characters that I type as boxes
(rectangles) but shows them correctly when loaded from a file on disk?

I use:

  (setq default-input-method "cyrillic-yawerty")
  (prefer-coding-system 'utf-8)
  (when (fboundp 'utf-translate-cjk-mode) (utf-translate-cjk-mode 1))

Is there anything else I need to do?

Thanks!


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
NY survival guide: when crossing a street, mind cars, not streetlights.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]