[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is cp1252 special?
From: |
Jason Rumney |
Subject: |
Re: Why is cp1252 special? |
Date: |
Sat, 08 Oct 2005 01:53:58 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Torsten Bronger <bronger@physik.rwth-aachen.de> 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.