Bug 104109 - locale *.UTF-8 vs. *.utf8
Summary: locale *.UTF-8 vs. *.utf8
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Thorsten Kukuk
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 13:15 UTC by Harald Koenig
Modified: 2005-08-11 14:35 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koenig 2005-08-11 13:15:14 UTC
I've installed 10.0b1 with "minimal X11" and us-english settings and get
"LC_CTYPE=en_US.UTF-8".

why is this *.UTF-8 instead of *.utf8 ?  looking into /usr/lib/locale/
*.utf8 seems to be the "correct" setting and using

   $ strace -e open locale
    ...
    open("/usr/lib/locale/en_US.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such
file or directory)
    open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY) = 3

shows that you chould even save one file lookup using *.utf8 (wow;-)
Comment 1 Dr. Werner Fink 2005-08-11 13:39:11 UTC
The correct value for the locale environment variable is

           UTF-8

only.
Comment 2 Thorsten Kukuk 2005-08-11 14:31:43 UTC
What should be the bug?
Why major?
Comment 3 Dr. Werner Fink 2005-08-11 14:35:29 UTC
AFAIS locale can not open /usr/lib/locale/en_US.UTF-8/LC_CTYPE
because only /usr/lib/locale/en_US.utf8/LC_CTYPE ... if this is
intended then IMHO it should be documented.