| 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 Date: Wed, 2 Jul 2008 19:18:44 +0200 (CEST) framstag has uploaded the file "zzA (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> disait le 07/03/08 que : > 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: > > 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 recompile with +ENABLE_NLS (is it not the default ?) -- Le travail n'est pas une bonne chose. Si ça l'était, les riches l'auraient accaparé |
|
#3
| |||
| |||
| Erwan David <erwan@rail.eu.org> wrote: > recompile with +ENABLE_NLS (is it not the default ?) Ok, I have now: framstag@fex:/sw/src/mutt-1.5.18: ./mutt -v | grep NLS +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR but this does not help. The UTF chars are still displayed binary and not converted to 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/ |
|
#4
| |||
| |||
| * Ulli Horlacher on Thursday, July 03, 2008: > Erwan David <erwan@rail.eu.org> wrote: >> recompile with +ENABLE_NLS (is it not the default ?) --enable-nls only sets status/error messages etc. to your language; unrelated to the problem. > Ok, I have now: > > framstag@fex:/sw/src/mutt-1.5.18: ./mutt -v | grep NLS > +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR > > but this does not help. The UTF chars are still displayed binary and not > converted to ISO-8859-1. What gives: :set ?charset at the Mutt command-line? c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/ |
|
#5
| |||
| |||
| Christian Ebert <blacktrash@gmx.net> wrote: > > but this does not help. The UTF chars are still displayed binary and not > > converted to ISO-8859-1. > > What gives: > > :set ?charset > > at the Mutt command-line? charset="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/ |
|
#6
| |||
| |||
| * Ulli Horlacher on Thursday, July 03, 2008: > Christian Ebert <blacktrash@gmx.net> wrote: >> What gives: >> >> :set ?charset >> >> at the Mutt command-line? > > charset="iso-8859-1" I'm at a loss of an explanation then because the headers you quoted seemed to be ok, ie. no need for $assumed_charset etc. Sorry for not being of much help. c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/ |
![]() |
| 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.