I have problems displaying german manpages here. They are encoded utf-8 but man uses ascii it seems (displaying two funny characters for one).
#man ls
LS(1) Dienstprogramme für Benutzer LS(1)
First line should read: "Dienstprogramme für Benutzer". Looks like utf8 interpreted as ascii to me.
Same in konsole, xterm, terminal without X.
bzless /usr/share/man/de/man1/ls.1.bz2 an less work fine though. I decompressed and verified that this manpage is encoded in utf-8.
$LANG is de_DE.UTF-8, $LANGUAGE is empty, $LC_ALL is not defined. Setting all these to $LANG doesn't help.
The relevant definitions in /etc/man.conf look like this (vanilla, unchanged from installation):
- Code: Select all
TROFF /usr/bin/groff -Tps -mandoc
NROFF /usr/bin/nroff -mandoc
JNROFF /usr/bin/groff -Tnippon -mandocj
EQN /usr/bin/geqn -Tps
NEQN /usr/bin/geqn -Tlatin1
JNEQN /usr/bin/geqn -Tnippon
TBL /usr/bin/gtbl
# COL /usr/bin/col
REFER /usr/bin/refer
PIC /usr/bin/pic
VGRIND
GRAP
PAGER /usr/bin/less -isR
BROWSER /usr/bin/lynx
HTMLPAGER /usr/bin/lynx -dump
CAT /bin/cat
#
Probably can be fixed there, but haven't tried yet.
I consider this a bug. IMHO man should be configured OOTB to display manpages correctly in the encoding used for manpages shipping with the distro - which means: configured for utf-8 regardless of language preference (that's what utf-8 was made for after all).
