all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: Why is cp1252 special?
Date: Fri, 07 Oct 2005 17:29:55 +0200	[thread overview]
Message-ID: <v9k6gpxs3w.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 87d5mhvbky.fsf@wilson.rwth-aachen.de

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	other threads:[~2005-10-07 15:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-07 10:57 Why is cp1252 special? Torsten Bronger
2005-10-07 15:29 ` Reiner Steib [this message]
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=v9k6gpxs3w.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.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.