Bugzilla – Bug 104109
locale *.UTF-8 vs. *.utf8
Last modified: 2005-08-11 14:35:29 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;-)
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.