<<< Date Index >>>     <<< Thread Index >>>

Re: Message with iso-8859-1 pound signs in it.



Hello Kyle,

 On Wednesday, March 19, 2008 at 10:35:23 -0500, Kyle Wheeler wrote:

> mutt assumes that the file output by your editor conforms to
> $attach_charset.

    Mutt requires that messages composed in $editor and saved are in
*$charset*. Mutt guesses that pre-existing text files you're sending via
compose:<attach-file> are in the first fully valid $attach_charset
(that's a list of candidate charsets, defaulting to just $charset). Both
types of text files are then converted from their charset, to the first
minimal and sufficient $send_charset, as you explained.

    The recommended muttrc settings are:

 - Do not set $charset, its default is infered from the LC_CTYPE
category of the current locale. The $editor must read and write files
in the current locale.

 - Set attach_charset="utf-8:windows-1252" for westerners, as a generic
setting. But when you send attached a serie of, for example, MS-DOS
files originally in CP-850, then setting attach_charset=cp850 does help.
For Mutt, $attach_charset is guesswork: Each time you human know better,
tell it to Mutt.

 - Set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"
as Pat said. That's the optimal setting for westerners.

    The compose menu always shows the finaly choosen $send_charset.


Bye!    Alain.
-- 
When you want to reply to a mailing list, please avoid doing so with
freemail.web.de. This lacks necessary references and breaks threads.