Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 103499 - lang. selection of man based on env. variable is not POSIX-compliant
lang. selection of man based on env. variable is not POSIX-compliant
Product: Red Hat Linux
Classification: Retired
Component: man (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Eido Inoue
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-09-01 04:44 EDT by Jungshik Shin
Modified: 2007-04-18 12:57 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.5m2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-26 19:47:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jungshik Shin 2003-09-01 04:44:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701

Description of problem:
To determine the language of a man page to show, man should refer to
LC_ALL,LC_MESSAGES and LANG in turn. However, currently, it ignores LC_ALL and
LC_MESSAGES but always refers to LANG. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.set LC_ALL=en_US.UTF-8 and LANG to fr_FR.UTF-8
2.try 'man command'

Actual Results:  French man page is displayed

Expected Results:  English man page is expected.

Additional info:

POSIX /Single Unix Spec is very clear that LANG has the lowest precedence when
determining the locale while LC_ALL has the highest with LC_* (other than ALL)
taking the place between LANG and LC_ALL. 

'man' should follow that. I may have reported this to the upstream maintainer(or
may not have).
Comment 1 Eido Inoue 2004-01-26 19:47:05 EST
fixed in 1.5m2-1

Note You need to log in before you can comment on or make changes to this bug.