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

Re: CONVERSION ERROR with default send_charset



Hello Steve,

 On Friday, July 8, 2005 at 4:39:45 AM -0700, Steve White wrote:

> The .muttrc file now contains
>| set charset="utf-8"

    Drop it, will default to current locale charset.


> The environment has
>| LC_CTYPE=en_US.UTF-8

    Drop it, will default to $LANG.


> If I compose a message in German, using umlauted letters and the
> szelig, there is no problem. But if I include a Euro sign, saving the
> message body fails with CONVERSION ERROR 6L

    Probably a vim error? For Mutt an editor *must* read and write in
current locale charset. It is possible that vim is erroneously forced to
some other charset, or that the autosensing feature was fooled. Verify
"fileencoding" and "fileencodings" options. Verify your [Mm]uttrc,
aliases, and signature files are in UTF-8.


> A work-around is to instead have in the .muttrc
>| set send_charset="utf-8"

    Strange: This should not stop the shouted error.


> Judging from the send_charset entry in the mutt man page, I would have
> expected the default value to result in ASCII encoding when the text
> has no special German letters or Euros, Latin-1 if there are German
> letters but no Euro, and Unicode if there is a Euro.

    Exactly.


Bye!    Alain.
-- 
Mutt muttrc tip to send mails in best adapted first necessary and sufficient
charset (version for Western Latin-1/Latin-9/CP-850/CP-1252 terminal users):
set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"