emacs-devel
[Top][All Lists]
Advanced

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

Re: Russian letters


From: Eli Zaretskii
Subject: Re: Russian letters
Date: Thu, 06 Jul 2006 23:11:11 +0300

> From: Paul Pogonyshev <address@hidden>
> Date: Thu, 6 Jul 2006 21:17:24 +0300
> Cc: Andreas Schwab <address@hidden>
> 
> Andreas Schwab wrote:
> > Paul Pogonyshev <address@hidden> writes:
> > 
> > > The file is UTF-8 and mentions its coding in `Local variables'.  Again,
> > > the file is read just fine.  The problems begin when I type new
> > > characters into the buffer: they are treated differently than the same
> > > characters read from the file.
> > 
> > I can't reproduce that here.  Whenever I read a file with russian letters
> > that is encoded in utf-8 the letters are decoded into
> > mule-unicode-0100-24ff.
> 
> I said many times that the problems begin when I _type_ characters, not
> when they are read from file.

No, you said, and I quote:

    Russian letters loaded from file and newly typed are different
    character no matter if `unify-8859-on-...-mode's are active or
    not.

    Characters loaded from file:

      character: a (3664, #o7120, #xe50, U+0430)
        charset: cyrillic-iso8859-5 (Right-Hand Part of Latin/Cyrillic Alphabet 
(ISO/IEC 8859-5): ISO-IR-144.)
     code point: #x50
         syntax: w      which means: word
       category: y:Cyrillic
    buffer code: #x8C #xD0
      file code: #xD0 #xB0 (encoded by coding system mule-utf-8-unix)
        display: by this font (glyph code)
         -cronyx-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO8859-5 (#xD0)

    Newly typed characters:

      character: a (332880, #o1212120, #x51450, U+0430)
        charset: mule-unicode-0100-24ff (Unicode characters of the range 
U+0100..U+24FF.)
     code point: #x28 #x50
         syntax: w      which means: word
       category: y:Cyrillic
    buffer code: #x9C #xF4 #xA8 #xD0
      file code: #xD0 #xB0 (encoded by coding system mule-utf-8-unix)
        display: by this font (glyph code)
         -Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO10646-1 (#x430)

That is, you said that characters read from a file are decoded into
cyrillic-iso8859-5, while characters you type are decoded into
mule-unicode-0100-24ff.  Now it sounds like it's the other way around,
especially since you say that the file is encoded in UTF-8 (which is
_always_ decoded into mule-unicode-0100-24ff, AFAIR).

Please clarify which one is it.

Also, please try the same file and keyboard keys in "emacs -Q",
perhaps something in your .emacs has unpleasant side effects.




reply via email to

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