From: "David De La Harpe Golden" <david.delaharpe.golden@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Auto-detection of windows-1252 fails
Date: Sat, 5 Jan 2008 16:44:19 +0000 [thread overview]
Message-ID: <8e24944a0801050844x47fb26dbufcbc83f89663ff0@mail.gmail.com> (raw)
In-Reply-To: <v9fxxctnj6.fsf@marauder.physik.uni-ulm.de>
[this is more appropriate place to note this than the thread Reiner+I
were in in comp.emacs]:
Function set-coding-system-priority in src/coding.c
says it won't actually add two encodings of the
same "coding-system-category" to the priority list. And at least in
emacs-unicode2, iso-latin-1 and windows-1252 are apparently being put
in the same category, "coding-category-charset", unlike, say utf-8 or
sjis. So adding windows-1252 to coding-priority after iso-latin-1
won't do anything without changing more stuff.
main and emacs-unicode2's src/coding.c look like they differ quite a bit
at this stage, but on emacs-unicode2 (I personally don't have a cvs
head version around at the moment to check what it's doing):
(mapcar (lambda (x)
(cons x (coding-system-category x)))
(coding-system-list)) ;; or just '(windows-1252 iso-latin-1))
shows that a lot of encodings are ending up in coding-category-charset.
next prev parent reply other threads:[~2008-01-05 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-05 13:22 Auto-detection of windows-1252 fails Reiner Steib
2008-01-05 16:44 ` David De La Harpe Golden [this message]
[not found] ` <E1JBQZ5-0001Uy-TV@fencepost.gnu.org>
2008-01-09 6:33 ` Kenichi Handa
2008-01-14 20:58 ` Reiner Steib
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=8e24944a0801050844x47fb26dbufcbc83f89663ff0@mail.gmail.com \
--to=david.delaharpe.golden@gmail.com \
--cc=emacs-devel@gnu.org \
/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.