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 > see two characters instead it means that your terminal does not use > utf-8. If you get one "placeholder" symbol, e.g. an empty square or a > question mark, then your font does not provide the a-umlaut character. > > 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). I use urxvtd (a rxvt deamon), when I start a windows from rxvt (non deamon) and try echo -e "\0303\0244" I get the a-umlaut, then I start another window from the urxvt window and try it I don't get the a-umlaut. I ran set | sort > /tmp/1 and /tmp/2 from the working and the non working windows and the only differences where
_ OLDPWD PIPESTATUS PWD SHLVL WINDOWID locale gives me similar results in both windows? locale LANG=en_AU.utf8 LC_CTYPE="en_AU.utf8" LC_NUMERIC="en_AU.utf8" LC_TIME="en_AU.utf8" LC_COLLATE="en_AU.utf8" LC_MONETARY="en_AU.utf8" LC_MESSAGES="en_AU.utf8" LC_PAPER="en_AU.utf8" LC_NAME="en_AU.utf8" LC_ADDRESS="en_AU.utf8" LC_TELEPHONE="en_AU.utf8" LC_MEASUREMENT="en_AU.utf8" LC_IDENTIFICATION="en_AU.utf8" LC_ALL= > > -- > Regards, | http://users.icfo.es/Florian.Kulzer > Florian | > >
signature.asc
Description: Digital signature