From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torsten Bronger Newsgroups: gmane.emacs.help Subject: Why is cp1252 special? Date: Fri, 07 Oct 2005 12:57:33 +0200 Organization: Phoenix Foundation Message-ID: <87d5mhvbky.fsf@wilson.rwth-aachen.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1128683007 10584 80.91.229.2 (7 Oct 2005 11:03:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2005 11:03:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 07 13:03:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENpzB-0005Nw-IO for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 13:01:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENpzA-0000ZK-Jf for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 07:01:56 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: news.dfncis.de hobfWRQijVaWVynZjfcHmASkDsyFMNWoRhoOamCoqFgtgB4LCRcSf1EH/h X-Orig-Path: wilson.rwth-aachen.de!news X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-PGP-Affinity: will accept encrypted message for GPG X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Face: +wpw"|jN2Fde|7_lKBa0\7!_6suIE_m! x)'S9ytBu8tkt'k779jbzQ4o|p+@H_DCrIdnKG]E*w X-Binford: 6100 (more power) X-Accept-Language: de, en User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vjKiDsXqos9dqkzGIqgqF1z/bUc= Original-Xref: shelby.stanford.edu gnu.emacs.help:134447 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30023 Archived-At: Hallöchen! I use recent CVS versions of Gnus and Emacs. After a couple of non-declared encodings in Outlook postings which I received with Gnus, I wanted to change the fallback chain from cp437 (I've got a lot of old MSDOS files) to cp1252. At the moment, my .emacs contains (define-coding-system-alias 'cp1252 'windows-1252) (prefer-coding-system 'cp1252) (prefer-coding-system 'iso-latin-1) (prefer-coding-system 'utf-8) I'm just curious: Why is there some sort of asymmetry between cp1252 and most (if not all) other codepages? In particular, why is the first line above necessary? By contrast, I can say (prefer-coding-system 'cp1257) without problems. A usenet search yielded some information about the fact that cp1252 *is* special but not why. Additionally, news:v9smnfv8ib.fsf@marauder.physik.uni-ulm.de suggests that new Emacs versions should allow (codepage-setup 1252) however, this doesn't work for me in .emacs. Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus ICQ 264-296-646