all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why is cp1252 special?
@ 2005-10-07 10:57 Torsten Bronger
  2005-10-07 15:29 ` Reiner Steib
  0 siblings, 1 reply; 6+ messages in thread
From: Torsten Bronger @ 2005-10-07 10:57 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-10-08  0:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 10:57 Why is cp1252 special? Torsten Bronger
2005-10-07 15:29 ` 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

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.