From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: bugs@gnus.org, ding@gnus.org
Subject: Re: mm-util.el should know as many charsets as iconv
Date: Mon, 19 Jun 2006 23:30:13 +0200 [thread overview]
Message-ID: <v91wtkygt6.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <E1FsL0z-0004bV-5S@jidanni1> (Dan Jacobson's message of "Mon, 19 Jun 2006 22:46:09 +0800")
On Mon, Jun 19 2006, Dan Jacobson wrote:
> In the buffer *Messages* I have painstakingly traced the non "$0"
> prefixed message "Unknown charset: windows-874" to the file
> /usr/share/emacs/site-lisp/gnus/lisp/mm-util.el
>
> And how unfair it is that windows-874 is unknown. Compare
> $ iconv -l |grep 874|xargs
> 874// CP874// CSISO153GOST1976874// GOST_1976874// IBM874// WINDOWS-874//
>
> So maybe if mm-util.el doesn't know a charset, perhaps it should
> upcase the name, and pass the work over to iconv to give it a try.
mm-util.el doesn't "know" any charset. The available charsets are
provided by (X)Emacs.
> OK, I did (codepage-setup 874)(define-coding-system-alias
> 'windows-874 'cp874) like the Info page said.
See also `mm-charset-eval-alist' (I didn't have time to document this
properly yet) and `mm-charset-synonym-alist'.
> The Info page should say why we must do this by hand as it is not
> done automatically for us for all "windows-" sets.
I recall some discussing on emacs-devel or emacs-pretest-bugs the not
all `cp...' charsets should be aliased to `windows-...'. AFAICS,
`windows-874' is not IANA registered:
<http://www.iana.org/assignments/character-sets>.
> (By the way, the characters shown were squares unless I used emacs -nw
> or used echo in a shell buffer. Perhaps I don't have a bold Thai font
> installed.)
Probably.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
prev parent reply other threads:[~2006-06-19 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-19 14:46 Dan Jacobson
2006-06-19 21:30 ` Reiner Steib [this message]
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=v91wtkygt6.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=bugs@gnus.org \
--cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).