<<< Date Index >>>     <<< Thread Index >>>

Re: wrong charset



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, May  4 at 05:05 PM, quoth Luis A. Florit:
> I use a ISO-8859-1 encoded xterm in maemo, but :set ?charset
> gives me charset="utf-8".

Are you setting it in your config somewhere? (test it my running `mutt 
- -F /dev/null` and seeing what the value of $charset is there)

> I tried setting by hand LANG, LC_ALL, LC_CTYPE to pt_BR and such, 
> but no luck. No, pt_BR.ISO-8859-1 is not among the xterm locales.

Okay, I think the first thing you need to do here (aside from ensure 
that you're not setting $charset manually somewhere) is to find out 
what locales your machine supports. Something like this will probably 
work:

     locale -a | grep '^pt_BR'

Whatever it outputs, those are the values your computer (currently) 
understands, and so those are the values that LANG or the LC_* 
variables can be set to.

It's possible that if you really want your xterm to only display 
ISO-8859-1 characters, you may have to install the right character 
sets (how to do this is often distro-dependent).

On the other hand, if your machine ALREADY correctly understands 
UTF8... go with it! UTF8 is far more capable than ISO-8859-1 or any 
other ISO charset.

> I also tried setting charset, config_charset and assumed_charset to 
> ISO-8859-1, in the beginning and end of .muttrc, with no luck...

What do you mean "no luck"? Did mutt refuse to allow you to set an 
alternate $charset value? If the value of $charset got reset, then 
either the value is being reset by some other part of your 
configuration, or your mutt is broken.

~Kyle
- -- 
Authentic treachery is found when we abandon ourselves, becoming deaf 
to the whispers of our spirits and blind to the powerful potential 
therein.
                                             -- Joaquin Mariel Espinosa
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkn/TtEACgkQBkIOoMqOI162+wCgnspg5ApLkwpIVTg8cHmIEwBa
M1UAoPOzfWAidPffotBaVh3d1O66A6Tg
=fJVy
-----END PGP SIGNATURE-----