From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jasonr (Jason Rumney) @ f2s.com Newsgroups: gmane.emacs.help Subject: Re: Why is cp1252 special? Date: Sat, 08 Oct 2005 01:53:58 +0100 Organization: freedom2surf Message-ID: References: <87d5mhvbky.fsf@wilson.rwth-aachen.de> <874q7tl3js.fsf@wilson.rwth-aachen.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128732975 8449 80.91.229.2 (8 Oct 2005 00:56:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2005 00:56:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 08 02:56:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EO30C-0005kN-D8 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Oct 2005 02:55:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EO30B-0000qr-Rv for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 20:55:51 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: i-83-67-23-108.freedom2surf.net Original-X-Trace: news.freedom2surf.net 1128732921 24917 83.67.23.108 (8 Oct 2005 00:55:21 GMT) Original-X-Complaints-To: abuse@freedom2surf.net Original-NNTP-Posting-Date: Sat, 8 Oct 2005 00:55:21 +0000 (UTC) X-Face: .PruP48JRO{Z6Rfz?YkZ>)zR+7!Up"`!1Cvq{fGd)@K; y]C:8r\CrJ^Mj\_U"9*WD2 I#zdK_#tw]y9*Y$?ge&b23Zt7zpknL{)F7Px4DVSY6b9dg[^VtkN-R_$YJ0cL''j[, }O#k{k| User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:+ulZlHQ4p/JWmkrXIG56aSZxPOc= Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!elvis.franken.de!chico.franken.de!news.franken.de!humbolt.nl.linux.org!news.nl.linux.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!zen.net.uk!dedekind.zen.co.uk!news.anlx.net!caladan!entanet!news.freedom2surf.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:134487 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:30063 Archived-At: Torsten Bronger writes: > What I observed is that > > (codepage-setup 1257) > > works but > > (codepage-setup 1252) > > yields "Unsupported codepage 1252". codepage-setup is intended for the DOS port of Emacs. It maps a single ISO coding-system onto a DOS or Windows codepage as best as it can. Since the whole of Latin-1 maps 1:1 to Windows-1252, cp1252 is not needed. Systems other than DOS should use the codepages defined in code-pages.el, which are autoloaded. These codepages map multiple coding-systems onto the DOS and Windows codepages to provide full coverage in both directions. The windows codepages have names "windows-125X" to distinguish them from the codepages for the DOS port in codepage.el.