From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#2497: 23.0.91; Fails to read UTF-8 on Win2k Date: Sat, 28 Feb 2009 15:31:47 +0100 Message-ID: <87hc2e3a5o.fsf@engster.org> References: <877i3c55tg.fsf@tum.de> <87ljrromgg.fsf@tum.de> <87zlg7t1pc.fsf@tum.de> <87tz6e3m2v.fsf@engster.org> Reply-To: David Engster , 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 1235832241 27139 80.91.229.12 (28 Feb 2009 14:44:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2009 14:44:01 +0000 (UTC) Cc: 2497@emacsbugs.donarmstrong.com, uwe.siart@tum.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 15:45:16 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 1LdQRD-000377-TA for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 15:45:12 +0100 Original-Received: from localhost ([127.0.0.1]:59293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdQPt-0006EY-20 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 09:43:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdQPn-0006Dj-W6 for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 09:43:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdQPm-0006Cd-Cb for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 09:43:43 -0500 Original-Received: from [199.232.76.173] (port=41772 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdQPm-0006Ca-6Q for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 09:43:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55258) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdQPl-0007kq-Gb for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 09: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 n1SEhc7B017235; Sat, 28 Feb 2009 06:43:39 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1SEe7NS016309; Sat, 28 Feb 2009 06:40:07 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Engster Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 28 Feb 2009 14:40:07 +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.123583151914499 (code B ref 2497); Sat, 28 Feb 2009 14:40:07 +0000 Original-Received: (at 2497) by emacsbugs.donarmstrong.com; 28 Feb 2009 14:31:59 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from m61s02.vlinux.de (m61s02.vlinux.de [83.151.21.164]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SEVsci014484 for <2497@emacsbugs.donarmstrong.com>; Sat, 28 Feb 2009 06:31:56 -0800 Original-Received: from dslc-082-082-164-201.pools.arcor-ip.net ([82.82.164.201] helo=void) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1LdQGi-0007C5-G1; Sat, 28 Feb 2009 15:34:20 +0100 In-Reply-To: (Eli Zaretskii's message of "Sat, 28 Feb 2009 14:09:04 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 28 Feb 2009 09: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:25845 Archived-At: Eli Zaretskii writes: >> From: David Engster >> I'm inclined to say that this change is wrong, since strcmp will only >> return 0 if two strings are exactly equal. In this case though, the >> string "iso-8859-" is compared to "iso-8859-1" (in my case), so it >> returns 1 and therefore check_latin_extra is not set. > > You are right. But in my case, it was not enough to test for > "iso-8859-", as the symbol's name was "iso-latin-1", not "iso-8859-1". > > I installed the patch below, that does seem to fix the problem with > the OP's .gnus.el, although I don't know how general that problem is, > nor whether Emacs is capable of distinguishing UTF-8 from Latin-N in > general. I can confirm this patch fixes my original bug report (#2354). Thanks! -David