Red Hat Bugzilla – Bug 435085
localation of man output forced to utf-8
Last modified: 2013-01-10 12:24:56 EST
Description of problem:
The output of man (the command itself) is always UTF-8. This is horrible with
language settings to other encodings.
Version-Release number of selected component (if applicable):
Keine Handbuchseite fÃ¼r bla
Keine Handbuchseite für bla
There is no UTF-8 cable environment in use! The terminal is xterm with no "-u8"
command line option and all language settings are the normal de_DE settings.
Also setting of explicit ".ISO-8859-1" does not work.
Hello, this seems to be xterm problem.
Actually, that would be a problem with nroff if it produces utf8 output in non-utf8 locale.
I try to reproduce the problem but I was unsuccesfull, is there any other settings you use?
This is not about nroff output. It's about `man' utility itself.
The utility is not locale charset aware. The reason is man uses POSIX message catalogues instead of GNU gettext. POSIX catalogues do not save charset of catalogue at compile time and thus do not provide run-time recoding to current locale charset.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
I am closing this bug. As Petr explained in comment 4, the fix is not trivial and it's too late for extensive patches in RHEL-5. Also, this problem doesn't occur in RHEL-6.