From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: Russian letters Date: Thu, 6 Jul 2006 23:27:27 +0300 Message-ID: <200607062327.27707.pogonyshev@gmx.net> References: <200607052110.21816.pogonyshev@gmx.net> <200607061856.54918.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1152217264 27242 80.91.229.2 (6 Jul 2006 20:21:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2006 20:21:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 06 22:21:01 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FyaLJ-0002bj-QK for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2006 22:20:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyaLJ-0003ZI-8C for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2006 16:20:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyaL6-0003Y4-H7 for emacs-devel@gnu.org; Thu, 06 Jul 2006 16:20:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyaL5-0003XO-4w for emacs-devel@gnu.org; Thu, 06 Jul 2006 16:20:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyaL4-0003XJ-U3 for emacs-devel@gnu.org; Thu, 06 Jul 2006 16:20:42 -0400 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FyaLK-0000If-SH for emacs-devel@gnu.org; Thu, 06 Jul 2006 16:20:59 -0400 Original-Received: (qmail invoked by alias); 06 Jul 2006 20:20:40 -0000 Original-Received: from unknown (EHLO [194.158.209.209]) [194.158.209.209] by mail.gmx.net (mp038) with SMTP; 06 Jul 2006 22:20:40 +0200 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org, Eli Zaretskii User-Agent: KMail/1.7.2 In-Reply-To: Content-Disposition: inline X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56654 Archived-At: Eli Zaretskii wrote: > > From: Paul Pogonyshev > > Date: Thu, 6 Jul 2006 18:56:54 +0300 > >=20 > > Eli Zaretskii wrote: > > > > From: Paul Pogonyshev > > > > Date: Thu, 6 Jul 2006 01:21:26 +0300 > > > > Cc: Andreas Schwab > > > >=20 > > > > > Anyway, as documented, unify-8859-on-decoding-mode can only map to > > > > > `iso-latin-1' and `mule-unicode-0100-24ff'. > > > >=20 > > > > That's fine, but if the same characters read from file and typed fr= om > > > > keyboard are different in a buffer, that's nothing else than a bug. > > >=20 > > > What was the file's encoding? > >=20 > > UTF-8. >=20 > 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: =D0=B0 (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