From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: Auto-detection of windows-1252 fails Date: Mon, 14 Jan 2008 21:58:26 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200344456 16071 80.91.229.12 (14 Jan 2008 21:00:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2008 21:00:56 +0000 (UTC) Cc: reinersteib+gmane@imap.cc, rms@gnu.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 14 22:01:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JEWQm-0001pn-6z for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2008 22:01:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEWQO-00037r-0O for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2008 16:00:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEWP7-0001W3-Os for emacs-devel@gnu.org; Mon, 14 Jan 2008 15:59:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEWP2-0001Pp-Hx for emacs-devel@gnu.org; Mon, 14 Jan 2008 15:59:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEWP1-0001PS-Tv for emacs-devel@gnu.org; Mon, 14 Jan 2008 15:59:28 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JEWOx-00060I-Vl; Mon, 14 Jan 2008 15:59:24 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m0EKwxBH019960; Mon, 14 Jan 2008 21:58:59 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 828BC12C8E; Mon, 14 Jan 2008 21:58:59 +0100 (CET) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML; )7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+; CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf, d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: Kenichi Handa , emacs-devel@gnu.org, rms@gnu.org, reinersteib+gmane@imap.cc In-Reply-To: (Kenichi Handa's message of "Wed, 09 Jan 2008 15:33:18 +0900") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-DCC-wuwien-Metrics: poseidon 1290; Body=4 Fuz1=4 Fuz2=4 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:86911 Archived-At: On Wed, Jan 09 2008, Kenichi Handa wrote: >> | > (6) Implement null-byte detection (to prevent binary files >> | > mis-detected as windows-12xx), keep the current code (windows-1252) >> | > and add windows-1254/1255 accordingly. [...] > I've just installed the null-byte detection code and some > improvement on handling latin-extra-code-table in the trunk. > Could you please test the latest code? Works for me as expected. I've done some test with de_DE.utf-8, de_DE, ... >> (set-language-info-alist >> "German" '((tutorial . "TUTORIAL.de") >> - (charset ascii latin-iso8859-1) >> + (charset iso-8859-1) >> (coding-system iso-latin-1 iso-latin-9) >> - (coding-priority iso-latin-1 windows-1252) >> + (coding-priority iso-latin-1) >> + (nonascii-translation . iso-8859-1) >> (input-method . "german-postfix") > > Oops, I don't know why that change was lost. I'll fix it > soon as well as the equivalent change for null-byte > detection and latin-extra-code-table handling improvement. Thanks. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/