help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is cp1252 special?


From: Reiner Steib
Subject: Re: Why is cp1252 special?
Date: Fri, 07 Oct 2005 17:29:55 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Fri, Oct 07 2005, Torsten Bronger wrote:

> I use recent CVS versions of Gnus and Emacs.
>
> After a couple of non-declared encodings in Outlook postings which I
> received with Gnus, 

Please elaborate what's the problem in Gnus.

> I'm just curious: Why is there some sort of asymmetry between cp1252
> and most (if not all) other codepages?

I don't see any asymmetry:

$ emacs-cvs -Q -f ielm
*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (coding-system-p 'cp1252)
nil
ELISP> (coding-system-p 'windows-1252)
t
ELISP> (coding-system-p 'cp1257)
nil
ELISP> (coding-system-p 'windows-1257)
t
ELISP> (prefer-coding-system 'cp1252)
*** Eval error ***  Invalid coding system `cp1252'
ELISP> (prefer-coding-system 'cp1257)
*** Eval error ***  Invalid coding system `cp1257'
ELISP> (prefer-coding-system 'windows-1252)
(windows-1252 . windows-1252)

ELISP> (prefer-coding-system 'windows-1257)
(windows-1257 . windows-1257)


> 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.

The above mentioned article is 2 years old.  The information there
probably is not accurate anymore for current CVS Emacs.  I don't
recall that (codepage-setup 1252) ever worked.

BTW: `rs-windows-1252.el' is obsolete; With recent CVS Emacs 22, you
don't even need it's replacement `rs-ucs-coding-system.el':

,----
| 2005-08-05  Kenichi Handa  <handa@m17n.org>
| 
|       * international/code-pages.el: Add autoload cookies for all coding
|       systems.
|
| [...] 
|
| 2005-03-04  Reiner Steib  <Reiner.Steib@gmx.de>
| 
|       * international/code-pages.el (windows-1250, windows-125[2-8])
|       (iso-8859-10, -13, -16, georgian-ps): Add autoload cookies.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]