From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2497: 23.0.91; Fails to read UTF-8 on Win2k Date: Mon, 02 Mar 2009 10:25:45 -0500 Message-ID: References: <877i3c55tg.fsf@tum.de> <87ljrromgg.fsf@tum.de> Reply-To: Stefan Monnier , 2497@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236008637 12371 80.91.229.12 (2 Mar 2009 15:43:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2009 15:43:57 +0000 (UTC) Cc: 2497@emacsbugs.donarmstrong.com, uwe.siart@tum.de To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 16:45:13 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 1LeAKO-0004bB-Qn for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 16:45:13 +0100 Original-Received: from localhost ([127.0.0.1]:51477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAJ3-0006MX-Pr for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 10:43:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeAIz-0006MA-AF for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:43:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeAIw-0006Lw-BD for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:43:44 -0500 Original-Received: from [199.232.76.173] (port=45798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAIw-0006Lt-6K for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:43:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57584) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeAIv-0004mm-Mq for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 10:43:41 -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 n22FhcKU032071; Mon, 2 Mar 2009 07:43:38 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n22FZ3tm029689; Mon, 2 Mar 2009 07:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Mar 2009 15:35:03 +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.123600755528329 (code B ref 2497); Mon, 02 Mar 2009 15:35:03 +0000 Original-Received: (at 2497) by emacsbugs.donarmstrong.com; 2 Mar 2009 15:25:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n22FPp9L028323 for <2497@emacsbugs.donarmstrong.com>; Mon, 2 Mar 2009 07:25:52 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIFAJOJq0lFxIQh/2dsb2JhbACBWdR6hBoGg3k X-IronPort-AV: E=Sophos;i="4.38,289,1233550800"; d="scan'208";a="34578400" Original-Received: from 69-196-132-33.dsl.teksavvy.com (HELO pastel.home) ([69.196.132.33]) by ironport2-out.teksavvy.com with ESMTP; 02 Mar 2009 10:25:45 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 253A87FE9; Mon, 2 Mar 2009 10:25:45 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Mon, 02 Mar 2009 20:43:58 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 02 Mar 2009 10:43:44 -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:25916 Archived-At: >> That seems to be the source of the problem. utf-8 should always come >> before latin-1 in that list, since utf-8 streams that are valid latin-1 >> streams are not uncommon, whereas latin-1 streams that are valid utf-8 >> streams are extremely rare. > I think that is the only solution. Not only it's the only solution, but it's a solution on which we agreed already several years ago. So, again, the bug is in the ordering, and we have to figure out which code ends up putting latin-1 before utf-8 in the coding system priority. Stefan