Red Hat Bugzilla – Bug 68168
Pager cannot display 8 bit characters.
Last modified: 2014-03-16 22:28:33 EDT
I upgraded mutt/slang (and newt/slrn/kudzu for dependencies) from RH7.3 to
rawhide: mutt-220.127.116.11-1 and slang-1.4.5-2.
Now, mutt cannot display any 8 bit character anymore, such as ihj (french
accents). It either displays a '?' or the octal value. The pager is the default
one. I had a deep look through the manual and tested several variables but could
not find a way to fix the problem.
Can someone reproduce this?
Bugzilla has also 8 bit problems...
ihj should read \'e \`e and \^e (tex notations).
mutt 18.104.22.168 or mutt 1.4?
Sorry, you are right. The upgrade that causes the problem is:
mutt-22.214.171.124-1 -> 1.4-4
slang-1.4.5-2 -> 1.4.5-7
What locale are you running in?
I am in C locale.
$ LC_ALL=en_GB mutt => works
$ LC_ALL=C mutt => fails
Well... when a mail says in its header:
Content-Type: text/plain; charset=ISO-8859-1
the pager should display the body with this charset, even in C locale, no?
slang is using the current LC_CTYPE to determine what characters are printable.
If it's set to 'C', other charsets won't be considered printable.