Re: wrong charset
- To: mutt-users@xxxxxxxx
- Subject: Re: wrong charset
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Mon, 4 May 2009 15:23:45 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=uJyfepuP6gy3zOqHseQM0GMsXL8=; b=Ggwl CvkBa8k6qeY34GG3l0QCU/pbS5/RtsRsOBYZasrSsyIvgPFGPiNZVELZU6ICiBeb gOL/0aPupFG5KzQibNT+B88CjT2dWd3tn26Ah7xEZ6DrSsK9nbvyhZ0etR6McHER J1Q7NbGiCxlWPTd4S0DPoYbZXsRDdrYxzB0nZD8=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=ZSnUojlM0Esh5lLpJWaA56kO6kRaGdLNdkAb6SJfJt71KQUgo132odM99LxtPOYSFj5eiBOJO8rbjp6ndI9DuAxeV8bvdYni3Jv6dVd1TgzGyROZwQrt+sdBjPX7emxtXesx+HKjfRwilJspuEjbCdrR2/nbvQmrkNeitK2tTUQ=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090504200534.GA10147@xxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090504200534.GA10147@xxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-04-29)
-----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-----