emacs-devel
[Top][All Lists]
Advanced

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

Re: Russian letters


From: Paul Pogonyshev
Subject: Re: Russian letters
Date: Thu, 6 Jul 2006 23:27:27 +0300
User-agent: KMail/1.7.2

Eli Zaretskii wrote:
> > From: Paul Pogonyshev <address@hidden>
> > Date: Thu, 6 Jul 2006 18:56:54 +0300
> > 
> > Eli Zaretskii wrote:
> > > > From: Paul Pogonyshev <address@hidden>
> > > > Date: Thu, 6 Jul 2006 01:21:26 +0300
> > > > Cc: Andreas Schwab <address@hidden>
> > > > 
> > > > > Anyway, as documented, unify-8859-on-decoding-mode can only map to
> > > > > `iso-latin-1' and `mule-unicode-0100-24ff'.
> > > > 
> > > > That's fine, but if the same characters read from file and typed from
> > > > keyboard are different in a buffer, that's nothing else than a bug.
> > > 
> > > What was the file's encoding?
> > 
> > UTF-8.
> 
> UTF-8 is always decoded into Unicode character set, while you
> originally said that characters read from a file were decoded into
> Cyrillic ISO character set.  Which one is true?

I explicitly reverted the buffer in UTF-8 (though I know it is):

        C-x RET r utf-8 RET yes RET

`describe-char' on the Cyrillic characters from the file shows this:

  character: а (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)

Note the file code, it is UTF-8!

Paul




reply via email to

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