Bug 143035
Summary: | s-c-p didnt start with non-english locales | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Grigory Bakunov <bobuk> | ||||
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.6.120-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-01-17 18:01: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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 165954, 170286 | ||||||
Attachments: |
|
Description
Grigory Bakunov
2004-12-15 21:23:38 UTC
Created attachment 108654 [details]
simple patch to fix this problems
I simply add LC_ALL=C to all os.system calls.
Please confirm the version you are using. The LANG variable overrides all LC_xxx variables, and so as far as I can see your patch has no effect. 'test3' is for a test release of Fedora Core. Do you mean to report a bug against Fedora Core 3? If so please correct the "version" field. yes, LANG variable override all LC_xxx variables except of LC_ALL. But if LC_ALL set to some value (like in my case) then redefinition of LANG do nothing. You can look at glibc sources for check this. For example: > LC_ALL=C LANG=C cal December 2004 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 > LC_ALL=ru_RU.UTF-8 LANG=C cal ÐекабÑÑ 2004 ÐÑ Ðн ÐÑ Ð¡Ñ Ð§Ñ ÐÑ Ð¡Ð± 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Ah, thanks. I'd got it the wrong way round. LC_ALL overrides LANG as you say. Fixed in CVS. |