Dirk Foersterling <[EMAIL PROTECTED]> wrote:
>
> > Then you may have a problem with your locale settings. Try setting
> > the envionment variable LC_CTYPE (or LC_ALL, LANG) to some value
> > supporting iso-8859-1 (e.g. "de_DE").
> 
> I tried this now, but this doesn't help anything.

Well, every OS implements locales differently.  We can't give you a
specific formula for setting your $LANG environment variable, because we
don't know what locales are available on your OS.  You will have to give
us more info (such as the "mutt -v" output).

As an example, I use HP-UX 10.20.  When I run the command "locale -a", I
get a list of all the supported locales.  In scanning the list, I found
this setting:

    en_US.iso88591

If I set $LANG to this value, Mutt is then able to display ISO-8859-1
characters correctly, because I have told it that this is my chosen
locale, and it can determine that these characters are printable.

> However, just using mutt-0.79 in place of 0.95.3 displays everything
> fine.  If I set pager=less, the charset displays fine also.  The
> problem is just within mutt.

This is not really a "Mutt is doing something wrong" problem.  This is a
"Mutt is trying to be smarter than it used to be, and is failing because
you haven't given it enough information" type of problem.

Technically, your version of "less" is broken, or rather, not very
smart, because it is assuming that those ISO-8859-1 characters are
printable, when there is no such guarantee.  Without a proper $LANG
setting, it *should* assume that they are not printable, the same way
that Mutt-0.95 does.

So, the answer is to find out, for your OS, what is the proper setting
for $LANG?  Then set this value, and run Mutt again, to see it take
effect.

We've all had to do this.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to