-
Enhancement
-
Resolution: Fixed
-
P4
-
6
-
None
-
b48
-
generic
-
generic
Name: nl37777 Date: 07/14/2004
The JRE tables for host locale detection need to be
updated.
For Windows, current information on defined LCID values is at
http://www.microsoft.com/globaldev/reference/lcid-all.mspx.
For Unix, there's no list that shows all supported locales on all
Unix/Linux flavors. One possible way to deal with this would be to add
all known language and country codes to the existing lists. Another
would be to assume that two-letter strings are valid language or
country codes, and map only strings that are longer or known not to
follow the ISO standard. The existing code maps all unrecognized
language strings to "en", while all unrecognized country strings are
passed through, which isn't really consistent.
======================================================================
The JRE tables for host locale detection need to be
updated.
For Windows, current information on defined LCID values is at
http://www.microsoft.com/globaldev/reference/lcid-all.mspx.
For Unix, there's no list that shows all supported locales on all
Unix/Linux flavors. One possible way to deal with this would be to add
all known language and country codes to the existing lists. Another
would be to assume that two-letter strings are valid language or
country codes, and map only strings that are longer or known not to
follow the ISO standard. The existing code maps all unrecognized
language strings to "en", while all unrecognized country strings are
passed through, which isn't really consistent.
======================================================================