Red Hat Bugzilla – Bug 439314
man ignores LC_MESSAGES
Last modified: 2008-11-21 06:06:35 EST
In my locale settings LANG is de_DE@euro and LC_MESSAGES is C. However, man
always greets me in german language with UTF-8 characters. Which is broken in
If LC_MESSAGES is C I expect english language program messages and man page
If LC_MESSAGES is C and LANG is de_DE@euro then I don't expect UTF8 output on my
mn should show Germany version of man page because of the language which is
chosen depends on LANG variable (LC_MESSAGES set the messages language) and the
encoding of the output is defined in /etc/sysconfig/i18n so this is not a bug.
Sorry, this is a bug.
The encoding should be chosen depending on the locale settings of the session,
not based on some global config option. All gettext() based applications handle
this correctly. man doesn't. It's a bug in man.
Yes, I did choose german language messages. That's why I expect german language
man page texts too. It is wrong to depend on the setting of $LANG. man should
check setlocale(LC_MESSAGES, NULL) for the locale to show man pages in. That's
how the locale system works.
BTW. man-db handles this correctly.
Ouch i must have been drunk. Let's try this again:
Yes, I did choose *english* language messages. That's why I expect *english*
language man page texts too. It is wrong to depend on the setting of $LANG. man
should check setlocale(LC_MESSAGES, NULL) for the locale to show man pages in.
That's how the locale system works.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Fixed in man-1.6f-6.fc10.
This bug still exists in man-1.6f-8.fc10. My locale settings are unchanged, and
I still get the german man pages.
Thanks. Fixed in man-1.6f-14.fc11.