[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt and utf-8 (was: character encoding)



On Thu, Jan 03, 2008 at 12:02:39PM +0100, Florian Kulzer wrote:
> On Thu, Jan 03, 2008 at 13:50:59 +1300, Chris Bannister wrote:
> 
> [...]
> 
> > I've found that if I generate an utf-8 locale it messes up the little
> > arrows in mutt's index.
> 
> Sometimes the locale settings do not get passed on to mutt correctly,
> depending on how mutt is started. I think the best test is to use "!" to
> run "locale" from within mutt. Does that show all settings are correct?
> 
> > Also a lot of manpages don't show correctly.
> 
> That could be a terminal or font problem (see below); sometimes,
> however, the manpages themselves are to blame.
> 
> > I have to set LC_CTYPE to a non utf-8 locale.
> > 
> > But I wonder if it is also the choice of console font.
> 
> Try these simple tests:
> 
> echo -e "\0303\0244"
> 
> should give you an "ä" (lowercase a-umlaut) on a utf-8 terminal. If you

Yep, ok.

> The a-umlaut is not a particularly fancy character, so you should also
> try this:
> 
> echo -e "\0342\0224\0224\0342\0224\0200\0076"
> 
> should give you "└─>" (mutt's arrow showing a reply in a thread).

Yep, ok.

I deleted the LC_CTYPE="en_NZ" line in my .bashrc and everything is now
showing fine. 

-- 
Chris.
======


Reply to: