<<< Date Index >>>     <<< Thread Index >>>

Re: Unicode and Mutt



On Mon, Nov 03, 2008 at 10:14:15AM -0500, Dave Feustel wrote:
> Did you try saving the messages and verifying that the saved messages
> still display properly?  

Lots of people have been using Mutt with UTF-8 for years, and yes,
this is known to work if your environment is set up correctly.

> Where is LANG set? 

In the environment.  See the man pages for locale(1) and environ(7) on
your system, as well as the bash man page if you don't know how to set
environment variables.  You need to make sure it is set correctly so
that iconv will convert (or not convert) the messages properly.

You'll also need to use a unicode font with your xterm, AND make sure
it has all the glyphs that you want to see...  It sounds like you may
already have that set up, but if you don't try adding either of
these to your ~/.Xdefaults file:

XTerm*font: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*
XTerm*font: -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1

Both of these fonts have a very large number of character glyphs from
most of the world's major languages, though in each font, at least a
(different) subset of the Asian characters is missing.

Then run this command:

  xrdb -merge ~/.Xdefaults

And after that, any new xterms you open should display characters
properly.  You may need to install the fonts first...

Alternately, try running Mutt in a gnome-terminal window, which is
built with libraries to select and display an appropriate font based
on the natural language character set from which the characters
originate. [Of course, you still need to have appropriate fonts
installed for the language you want to see...]

If you still need more help, google is rife with pages which describe
how to configure your locale properly to display unicode correctly.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgpzaWtr86tS3.pgp
Description: PGP signature