On Tue, Mar 06, 2001 at 12:01:31AM +0000, Alan Sobey wrote:
> add "export LANG=en_IE" to your ~/.bashrc (or "setenv LANG en_IE" to
> ~/.tschrc I think).
>> > Liam happened to complain about how the discussion about non-ASCII
> > characters was giving him lots of ?s in mutt, whereupon someone (Kate ? -
> > I've deleted the mail) said that he should have set charset=iso-8859-1 in
> > his .muttrc. Well, I've got that in my .muttrc and I still don't see e.g. £
> > symbols in mutt but I do see them when editing a message (I use jed from
> > mutt). I have tried with and without set allow_8bit with the same results.
> > I can see the symbols in less (LESSCHARSET=latin1) and when I cat the file,
Thanks Alan - that was it. I did already have LANG=en_IE but I didn't have
LC_ALL.
BTW set charset= in mutt is meaningless in this context. Whether I have
set charset=iso-8859-1 or no value for charset, mutt won't display
pound symbols or accented characters like these
[...]
with LC_ALL=C. If you're using mutt, and you see a line of ??????? above,
quit mutt, do export LC_ALL=en_IE and start mutt again - you should see a
line of accented characters.
Just how many of these locale variables are there anyway, and is the
whole topic decently documented anywhere. As Alan mentioned, man locale is
not very informative. And why do jed and less show me the correct
characters, but mutt not without the LC_ALL setting.
Regards,
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!