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: Fri, 7 Jul 2006 00:48:15 +0300 Message-ID: <200607070048.15559.pogonyshev@gmx.net> References: <200607052110.21816.pogonyshev@gmx.net> <200607062327.27707.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_fUYrEHRpgD+PXNI" X-Trace: sea.gmane.org 1152222124 11186 80.91.229.2 (6 Jul 2006 21:42:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2006 21:42:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 06 23:42:02 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 1Fybbf-0001Zx-Uv for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2006 23:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fybbf-0001c5-Ep for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2006 17:41:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FybbQ-0001al-Jm for emacs-devel@gnu.org; Thu, 06 Jul 2006 17:41:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FybbO-0001Zc-Rf for emacs-devel@gnu.org; Thu, 06 Jul 2006 17:41:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FybbO-0001ZX-MI for emacs-devel@gnu.org; Thu, 06 Jul 2006 17:41:38 -0400 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1Fybbf-0007pk-An for emacs-devel@gnu.org; Thu, 06 Jul 2006 17:41:55 -0400 Original-Received: (qmail invoked by alias); 06 Jul 2006 21:41:36 -0000 Original-Received: from unknown (EHLO [194.158.216.254]) [194.158.216.254] by mail.gmx.net (mp036) with SMTP; 06 Jul 2006 23:41:36 +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:56664 Archived-At: --Boundary-00=_fUYrEHRpgD+PXNI Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Eli Zaretskii wrote: > > From: Paul Pogonyshev > > Date: Thu, 6 Jul 2006 23:27:27 +0300 > > > > > > > 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 > > This gets more and more complicated with each message. > > Could you please post a short file (as a binary attachment) and a > clear recipe how you visit it and how you type Cyrillic characters in > order to reproduce the problem? OK, after some testing I came up with a test (I didn't find it earlier because `customize-variable' is essential, simply setting it doesn't work): $ emacs -Q M-x customize-variable RET utf-fragment-on-decoding RET [set to t, set for current session] C-x C-f test.text RET Now, the characters from the file are decoded into `cyrillic-iso8859-5', while new, typed characters are in `mule-unicode-0100-24ff'. > Did I understand correctly that, unlike you first said, the Cyrillic > ISO characters come from keyboard input, while the mule-unicode > characters come from a file? No. Please try yourself, that way it must be easier to understand ;) Paul --Boundary-00=_fUYrEHRpgD+PXNI Content-Type: text/plain; charset="utf-8"; name="test.text" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.text" 0JDQkdCS0JPQlNCV0JbQl9CY0JnQmtCb0JzQndCe0J/QoNCh0KLQo9Ck0KXQptCn0KjQqdCq0KvQ rNCt0K7QrwoKTG9jYWwgdmFyaWFibGVzOgpjb2Rpbmc6IHV0Zi04CkVuZDoK --Boundary-00=_fUYrEHRpgD+PXNI Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --Boundary-00=_fUYrEHRpgD+PXNI--