All Locales *.UTF-8 broken wrt LC_COLLATE/LC_CTYPE

Originator:sommerlad.peter
Number:rdar://13969846 Date Originated:23-May-2013
Status:duplicate of 3655262 Resolved:
Product:mac os x Product Version:10.8.3 and earlier
Classification:serious Reproducible:yes
 
Summary:

all OS X locales that use UTF-8 encoding share the same LC_COLLATE and LC_CTYPE facet:
../la_LN.US-ASCII/LC_COLLATE
../UTF-8/LC_CTYPE
That means there is no language/country-specific sorting for these locales possible. For example, in C++ programs that use the std::locale class. For de_DE.ISO8859-1 for example, a specific german sorting facet is available and works (but different from Windows and Linux)

Steps to Reproduce:
One can observe the deficit with the following command:
ls -l /usr/share/locale/*.UTF-8/*LC_C*

Expected Results:
individual category implementations for the different UTF-8 locales so that sorting and character categorization works

Actual Results:
Only .ISO8859-* seem to work for german locales.

Regression:

Notes:
There is another bug in Apples GCC C++ library libstdc++ that only allows to instantiate std::locale with the locales "C" and "POSIX".  

Note:
Can not access the duplicate bug.... so no idea what happens with UTF-8 locales...

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!