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

CONVERSION ERROR with default send_charset



I have a problem regarding charset conversions.

Find the Mutt version info attached.

The .muttrc file now contains

set editor="/usr/bin/vim"
set charset="utf-8"
set send_charset="us-ascii:iso-8859-1:utf-8"  # the default

The environment has

LC_CTYPE=en_US.UTF-8
LANG=en_US.UTF-8

My terminal (Konsole) is set to use Unicode. I can type German letters and Euro signs into this terminal with the ISO995-3 keyboard mapping.

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

A work-around is to instead have in the .muttrc

set send_charset="utf-8"

but this results in all outgoing messages being Unicode-encoded, which isn't what I prefer.

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.

One more thing:  I would actually like to write
set send_charset="us-ascii:iso-8859-15:utf-8"
with the result that if a Euro appears, but no non-Latin-9 characters, then Latin-9 is chosen. But this doesn't work either.

Thanks!

Attachment: mutt-v
Description: Binary data