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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday, March 19 at 03:15 PM, quoth Chris G:
> How does mutt set about deciding what charset header to add?

Like this: mutt assumes that the file output by your editor conforms 
to $attach_charset. It then uses iconv to convert that character set 
into one of the character sets listed in $send_charset (the reason 
being that if you aren't using anything other than us-ascii, it's 
better to send the email identified as us-ascii, and the same is true 
of other, more common character sets). The iconv library can report 
whether a conversion is flawless or not, and so mutt uses the first 
character set in $send_charset to which your file can be converted 
flawlessly.

With the default $send_charset setting, if your file is all ascii 
characters, mutt will send the message as us-ascii. If you have 
something unusual, like an a-grave (á), mutt will use iso-8859-1. If 
you have something even more unusual, like a euro symbol (€), mutt 
will use utf-8.

Does that make sense?

~Kyle
- -- 
We *can't* simply do our science and not worry about the ethical 
issues.
                                                            -- Bill Joy
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkfhMrsACgkQBkIOoMqOI17TOgCg5mG79bGoxvdgoZ9/RgvTP/yi
5yYAoKRY11I3rFrEEusZgTzBk3HSkQhK
=t9C5
-----END PGP SIGNATURE-----