Re: Macintosh charset
Hello Martin,
On Friday, December 5, 2003 at 1:00:43 PM +0100, Martin Trautmann wrote:
> The charset migh be useful for mailboxes which were saved (converted)
> to a Mac charset.
Before you mess the original by changing each MIME charset label in
the said MacMailBox, can I suggest something as:
| folder-hook . "\
| unhook charset-hook ;\
| charset-hook ^us-ascii$ windows-1252 ;\
| charset-hook ^iso-8859-1$ windows-1252 ;\
| set assumed_charset=windows-1252 "
| folder-hook MacMailBox\\.mbox$ "\
| unhook charset-hook ;\
| charset-hook . macroman ;\
| set assumed_charset=macroman "
This is good for mailboxes that were converted entirely to MacRoman,
since Mutt will display everything correctly, whatever MIME label, or no
label, non-RFC-2047 headers, non-MIME bodies... Everything is
unconditionally assumed to be MacRoman, and converted to $charset
(whichever your terminal uses) for display and quoting in replies.
_And you don't have to modify *at all* your original MacMailBox._
Note $assumed_charset is one of the numerous features implemented by
Takashi Takizawa in his Japanese patch, that exists for 1.5.5.1 Mutts at
<URL:http://www.emaillab.org/mutt/download15.html>. Without it you would
lose support for raw non-RFC-2047 headers and non-MIME bodies.
Bye! Alain.