On Sat, Apr 24, 1999 at 07:45:11PM +0200, Dr. Matthias Prinz wrote:
> I use mutt under Linx with X11 inside an xterm.
> I use iso-8859-1 encoding.
>
> Now: non-ascii-chars like the german umlauts äüö are coded correctly,
> but displayed as a question-mark.
> What can I do to have these chars displayed correctly everytime?
Mutt uses locale information, such as the LANG variable, to choose the
appropriate characters to display (anything else is a question-mark). On
non-standard UNIXes, such as my Digital Unix 4.0B, one may have to use
"configure --enable-locales-fix".
Quote from the INSTALL file:
--enable-locales-fix
on some systems, the result of isprint() can't be used reliably
to decide which characters are printable, even if you set the
LANG environment variable. If you set this option, Mutt will
assume all characters in the ISO-8859-* range are printable. If
you leave it unset, Mutt will attempt to use isprint() if either
of the environment variables LANG, LC_ALL or LC_CTYPE is set,
and will revert to the ISO-8859-* range if they aren't.
Hope that helps.
Petr