[mew-int 2746] Re: Emacs 23, uses utf-8 instead of iso-8859-1
Harald Hanche-Olsen <[email protected]>
| Newsgroups | gmane.mail.mew.general |
|---|---|
| Message-ID | <[email protected]> |
+ Christophe TROESTLER <[email protected]>: > I am using Emacs 23 with the latest CVS version of Mew. With this > version of Emacs, Mew systematically uses utf-8 as soon as it sees a > single accented char like "é" while Emacs 22 was using iso-8859-1 > whenever possible (with the same config file). How can I teach Emacs > 23 to use iso-8859-1 (or iso-8859-15) if possible ? (Unfortunately, > some of my friends' mailers do not display well utf-8.) I have been using mew with emacs 23 and its CVS predecessors since long before mew became officially compatible with emacs 23. I have this in my .mew.el: (setq mew-cs-database-for-encoding '(((ascii) nil "7bit" "7bit") ((ascii iso-8859-1) iso-8859-1 "8bit" "Q") ((ascii latin-iso8859-1) iso-8859-1 "quoted-printable" "Q") (nil utf-8 "base64" "Q"))) Hmm, the third element of the list seems distinctly out of place. It must be something I forgot to delete when adding the second one. The repeated mention of ascii is probably also nonsensical, so it could have been whittled down to this: (setq mew-cs-database-for-encoding '(((ascii) nil "7bit" "7bit") ((iso-8859-1) iso-8859-1 "8bit" "Q") (nil utf-8 "base64" "Q"))) I need to upgrade mew and clean my setup. It has collected so much cruft over the year. One disclaimer though: I haven't upgraded mew for quite some while, so I can't guarantee that the above still works. Check the default value for mew-cs-database-for-encoding before modifying it. In the version of mew that I am still using, this variable is briefly mentioned in the mew info file, at the end of (mew)Top > Customize > charset. - Harald