Andy Spiegl muttered: > Since I upgraded to 1.3.20i I've got 2 problem with charsets. > > The first one is that if the charset isn't specified in the Content-Type of > a mail, mutt seems to always use "us-ascii", although I've set the config > variable charset to iso-8859-1. Is that the "normal" behaviour now?
As far as I can tell it has been since 1.0. > If so, what do I have to do to make it use iso-8859-1? > Ah, I just noticed: if I completely delete the Content-Type: line > the iso characters show up correctly again! But just: > Content-Type: text/plain > doesn't work. And many broken mailer send mails like that. :-( Yeah, I have this in my muttrc to fix that. charset-hook "" iso-8859-1 # fix stupid MUA output > Many of my mails come from a friend who has "K.d.Ö.R." in his real name. > So the From-Line is like this: > From: =?iso-8859-1?Q?K.d.=F6.R.?= <[EMAIL PROTECTED]> > > Mutt doesn't decode this line in the index, so that I see: > 1 Nov 12 =?iso-8859-1?Q?K. ( 9) subject > instead of > 1 Nov 12 K.d.Ö.R. ( 9) subject > In the pager it's shown correctly though: > Date: Mon, 12 Nov 2001 20:43:52 -0500 > From: K.d.ö.R. <[EMAIL PROTECTED]> > To: "Andy Spiegl" <[EMAIL PROTECTED]> > Subject: äöüß If the pager shows the correct iso chars then I guess that there is something mixed up in the headers of that mail. > BTW, I've set: > set charset="iso-8859-1" > and: > export LANG=de_DE > export LANGUAGE=de_DE > export LC_ALL=de_DE LC_ALL=en_US LANG=en_US set charset="iso-8859-1" # default enconding Works like charm. :) HTH, Michael -- PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key