Mutt + GNOME Terminal = occasional display garbling

Marius Gedminas marius at pov.lt
Mon Dec 5 15:12:41 UTC 2005


On Mon, Dec 05, 2005 at 11:40:50AM +0000, David Hart wrote:
> On Sat, Dec 03, 2005 at 04:39:27PM +0100, Shot - Piotr Szotkowski wrote:
> > For example, when I go to my spam folder (full of badly encoded Korean
> > spam), I have to use uxterm - otherwise I'd have to navigate the folder
> > blindly. Given that uxterm works properly, my guess is that's a problem
> > with GNOME Terminal not coping with malformed UTF-8.
> > 
> > Any solutions to this, or at least can
> > anybody confirm I'm not seeing things?

I saw this today, from some malformed spam.

> I used Mutt with Gnome Terminal on both Warty and Hoary (and now
> Breezy since the weekend).  I couldn't read some of those Korean
> fonts but I never had a garbled screen that would stop me navigating.
> 
> I've just checked my Mutt config and I have:
> 
>     set charset="iso-8859-1"

You need not set the charset explicitly, Mutt can determine it from the
locale automatically.

And it should be UTF-8 in Ubuntu, unless you changed your locale
charset.

> and in the environment (if it makes any difference, as despite having
> used Linux for several years I'm quite ignorant about language settings,
> that and fonts):
> 
>     LANG=en_GB.UTF-8

which implies charset=UTF-8, not ISO-8859-13.

>     LANGUAGE=en_GB:en
> 
> What would be an appropriate setting for an English speaking person in
> the UK?

Marius Gedminas
-- 
This sentence contradicts itself -- no actually it doesn't.
                -- Douglas Hofstadter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051205/9ea094ba/attachment.sig>


More information about the ubuntu-users mailing list