Ar an séú lá déag de mí Deireadh Fómhair, scríobh Reiner Steib:
On Tue, Oct 16 2007, Aidan Kehoe wrote:
> Ar an séú lá déag de mí Deireadh Fómhair, scríobh Reiner Steib:
[...]
> > "charset=utf8" is bogus. It should be "utf-8", with
hyphen.
>
> Yes, my mistake. I had added '("utf8" utf-8) to the beginning of
> vm-mime-mule-charset-to-coding-alist, after seeing some mails with that as
> the specified character set--
I didn't see such mails or news articles yet. Is it frequent? The
I'd add an entry to `mm-charset-synonym-alist' in Gnus [1].
Not frequent, otherwise I would have added the alias and seen this bug years
ago. I believe it was someone in BeLUG ... ah, right, Michael Sucha in
20071010191243.GC4137(a)mid.sucha.de to <linux-l(a)mlists.in-berlin.de>, and
several more messages. And just him.
> without realising that the first MIME name in that list for the
Mule
> coding system would be used. Here’s the correct code, if anyone else
> wants to add it to their ~/.vm :
>
> (unless (assoc "utf8" vm-mime-mule-charset-to-coding-alist)
> (nconc
> vm-mime-mule-charset-to-coding-alist
> ;; Needs to be at the end, otherwise we get the wrong MIME name when
> ;; sending.
> '(("utf8" utf-8))))
Maybe VM should not use these for sending and a "mapping from unknown
or invalid charset names to the real charset names" instead (like
`mm-charset-synonym-alist' in Gnus).
VM doesn’t, actually, which is part of what put me in the embarrassing
position of sending that last mail with utf8 as the MIME character set. It
uses vm-mime-mule-coding-to-charset-alist , which the XEmacs packages
version of VM initialises based on vm-mime-mule-charset-to-coding-alist .
- Aidan (carefully doing a pre-emptive
M-: (vm-mime-xemacs-encode-composition) RET ...)
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta