From: Torsten Bronger <bronger@physik.rwth-aachen.de>
Subject: Why is cp1252 special?
Date: Fri, 07 Oct 2005 12:57:33 +0200 [thread overview]
Message-ID: <87d5mhvbky.fsf@wilson.rwth-aachen.de> (raw)
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
next reply other threads:[~2005-10-07 10:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-07 10:57 Torsten Bronger [this message]
2005-10-07 15:29 ` Why is cp1252 special? Reiner Steib
2005-10-07 16:01 ` Torsten Bronger
2005-10-07 18:14 ` Reiner Steib
2005-10-07 20:35 ` Torsten Bronger
2005-10-08 0:53 ` Jason Rumney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d5mhvbky.fsf@wilson.rwth-aachen.de \
--to=bronger@physik.rwth-aachen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.