Hello Peter,
This topic should be better discussed on mutt-users mailing list:
Followups directed there.
On Monday, September 9, 2002 at 10:59:25 AM +0200, Dr. Peter Leibner wrote:
> Sometimes I get e-mails from the Czech Republic with ISO-8859-2
> encoding. To display them I've found the following solution:
> message-hook '~h 8859-2' 'set display_filter="/usr/bin/sed -f
>/home/leibner/bin/IL2toASCII.sed"'
You could drop the filter, and either:
- Get a Latin-2 terminal to read and reply to such mails.
- Get an UTF-8 terminal, and setup everything accordingly: This way
you'll see and quote correctly both your charset and Latin-2, even mixed
in the same mail.
- Set your $charset to something as "iso-8859-1//TRANSLIT". This will
do nearly the same as your sed script, but will show some common
accents, as "�", and transliterate some, as Latin-2 n acute changed to
the two chars "�n".
> Content-Type: text/plain; charset=utf-8
Your mail was pure Latin-2 chars, no need to send in UTF-8: You
should set $send_charset to something as:
| set
|send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:iso-8859-2:windows-1250:utf-8"
Bye! Alain.