| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| It seems that mutt is ignoring the locale setting when displaying text: My terminals have native ISO-8859-1 (latin1) and locale is set properly. But mails with a different character set are not converted into ISO-8859-1 when displaying. For example, UTF-8 is displayed binary and not in ISO-8859-1. This looks like: From: framstag@rus.uni-stuttgart.de To: framstag@rus.uni-stuttgart.de Subject: F*EX-upload: zzA¼A?A*zz Date: Wed, 2 Jul 2008 19:18:44 +0200 (CEST) framstag has uploaded the file "zzA¼A?A*zz" (2009 kB) for you. The relevant headers of this mail are: Subject: F*EX-upload: =?UTF-8?Q?zz=C3=A4=C3=BC=C3=9F=C2=A0zz?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This mail should be displayed as: From: framstag@rus.uni-stuttgart.de To: framstag@rus.uni-stuttgart.de Subject: F*EX-upload: zzäüß*zz Date: Wed, 2 Jul 2008 19:18:44 +0200 (CEST) framstag has uploaded the file "zzäüß*zz" (2009 kB) for you. My setup is: Mutt 1.5.18 (2008-05-17) System: Linux 2.6.24-18-generic (i686) ncurses: ncurses 5.6.20071124 (compiled with 5.6) Compile options: (...) -ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID -USE_HCACHE framstag@fex:/sw/src/mutt-1.5.18: locale | grep LC_CTYPE LC_CTYPE="en_US" framstag@fex:/sw/src/mutt-1.5.18: locale -k LC_CTYPE | grep charmap charmap="ISO-8859-1" -- Ullrich Horlacher Informationssysteme und Serverbetrieb Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/ |
|
#2
| |||
| |||
| Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote: > My terminals have native ISO-8859-1 (latin1) and locale is set properly. > But mails with a different character set are not converted into ISO-8859-1 > when displaying. For example, UTF-8 is displayed binary and not in > ISO-8859-1. I have it :-) When I start mutt with -n option (do not read system-muttrc) the text is displayed in the correct character set. I have a really heavy modified system-muttrc with a lot of changes to the default (grow up in all those years). I searched for all occurences of "ISO" and "charset" and this one was the bad one: charset-hook "" iso-8859-1 I do not remember exactly when and why I have added this line to my muttrc, but without this line mutt now displays text with the correct charset encoding. -- Ullrich Horlacher Informationssysteme und Serverbetrieb Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/ |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.