From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2497: 23.0.91; Fails to read UTF-8 on Win2k Date: Fri, 27 Feb 2009 20:19:04 +0200 Message-ID: References: <877i3c55tg.fsf@tum.de> <87ljrromgg.fsf@tum.de> Reply-To: Eli Zaretskii , 2497@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235760331 18929 80.91.229.12 (27 Feb 2009 18:45:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 18:45:31 +0000 (UTC) Cc: 2497@emacsbugs.donarmstrong.com To: uwe.siart@tum.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 19:46:42 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ld7jN-00077o-Qy for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 19:46:42 +0100 Original-Received: from localhost ([127.0.0.1]:45083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld7i2-0003Ua-T1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 13:45:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ld7gX-0001QF-Fu for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:43:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ld7gT-0001Kk-Lb for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:43:43 -0500 Original-Received: from [199.232.76.173] (port=48009 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld7gT-0001KL-6p for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:43:41 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47719) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ld7gS-0003d2-E6 for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:43:40 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RIhcMU021835; Fri, 27 Feb 2009 10:43:38 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1RIP5Gi016223; Fri, 27 Feb 2009 10:25:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 27 Feb 2009 18:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2497 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2497-submit@emacsbugs.donarmstrong.com id=B2497.123575878114478 (code B ref 2497); Fri, 27 Feb 2009 18:25:05 +0000 Original-Received: (at 2497) by emacsbugs.donarmstrong.com; 27 Feb 2009 18:19:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RIJbat014460 for <2497@emacsbugs.donarmstrong.com>; Fri, 27 Feb 2009 10:19:39 -0800 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KFQ00B00LBSJT00@i-mtaout6.012.net.il> for 2497@emacsbugs.donarmstrong.com; Fri, 27 Feb 2009 20:19:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.167.119]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KFQ00M8JLKR7CG0@i-mtaout6.012.net.il>; Fri, 27 Feb 2009 20:19:48 +0200 (IST) In-reply-to: <87ljrromgg.fsf@tum.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Error: This connection is not (no longer?) in the cache. Resent-Date: Fri, 27 Feb 2009 13:43:43 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25797 Archived-At: > From: Uwe Siart > Cc: 2497@emacsbugs.donarmstrong.com > Date: Fri, 27 Feb 2009 17:48:15 +0100 > > It works with "C-x RET c utf-8 RET" immediately prior to "C-x C-f". > > > If it does, then the problem is with guessing the encoding, not with > > decoding it. > > That's also my impression. > > > Also, what is the default value of buffer-file-coding-system, and was > > it the same in 23.0.90? > > iso-latin-1-dos in 23.0.90 and in 23.0.91. Then you shouldn't expect Emacs to guess UTF-8 encoding correctly in every single instance. Distinguishing between UTF-8 and Latin-1 is generally impossible with the current state of the art of coded character sets support in Emacs. It might work in certain cases, but that's sheer luck. One way to work around that in your specific case, without changing your global defaults, is to add a `coding:' cookie to your .gnus.el file.