latin1: german umlauts not displayed correctly
Hi all
I got a mail with german umlauts: äöüß which are displayed as \374 and such in
the pager. The message has no Content-Type header. In w3m and with less, I see
placeholders where the umlauts should be. I believe the message is
latin1-encoded, b/c opening it in vim, it says: "fileencoding=latin1" (vim
displays the special chars correctly). Also
$ iconv -f latin1 -t utf-8 file > file.new
produces a correctly encoded message (can view it in less etc without
placeholders for äü...)
My locale settings are
--------------------------
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
----------------------------
[1] says I should
$ export LANG=de_DE.UTF-8
but I sent a mail with öüßß to myself which produced a correctly encoded
message (Content-Type: text/plain; charset=iso-8859-1) that is also displayed
fine in the pager. So I think $LANG is not the issue. Can I do something about
that or is the message just badly formatted. Many Thanks!
steve
[1] http://wiki.mutt.org/?MuttFaq/Charset