Bug 9743
Summary: | Russian locale name is stripped by /usr/bin/netscape wrapper | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Leonid Kanter <leon> | ||||
Component: | netscape | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | CC: | rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-02-25 16:30:54 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Leonid Kanter
2000-02-24 10:57:50 UTC
Arrgh. Unfortunately, if we leave it like that, the address book will start exploding if you try to use it. Hm, I suppose we could leave LANG as ru, unset LC_ALL, and set LC_CTYPE and LC_TIME explicitly; would that work for you? from modified wrapper's output: + unset LC_ALL + export LC_CTYPE=ru_RU.KOI8-R + LC_CTYPE=ru_RU.KOI8-R + export LC_TIME=ru_RU.KOI8-R + LC_TIME=ru_RU.KOI8-R + locale LANG=ru LC_CTYPE=ru_RU.KOI8-R LC_NUMERIC="ru" LC_TIME=ru_RU.KOI8-R LC_COLLATE="ru" LC_MONETARY="ru" LC_MESSAGES="ru" This works. Created attachment 130 [details]
Modified wrapper for testing only
I found that problem is not Russian-specific. To see message dates in composer window in national format, it's necessary to LC_TIME to be set to full name of directory in /usr/share/locale where compiled LC_TIME is placed. Try to enter command "LC_ALL=fr date" and "LC_ALL=fr_FR date" and see the difference. The same for LC_CTYPE - if corresponding compiled locale category is not available, it's impossible to type non-Latin1 characters. So, please preserve full names like ru_RU.KOI8-R, uk_UA etc. for at least LC_CTYPE and LC_TIME. Actually, netscape (as of 4.72) seems to no longer write broken locale settings to preferences.js/liprefs.js, so it looks like the locale munging can be removed. |