|
Bugzilla – Full Text Bug Listing |
| Summary: | locale *.UTF-8 vs. *.utf8 | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Harald Koenig <koenig> |
| Component: | Basesystem | Assignee: | Thorsten Kukuk <kukuk> |
| Status: | RESOLVED WORKSFORME | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | werner |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
The correct value for the locale environment variable is
UTF-8
only.
What should be the bug? Why major? 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. |
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;-)