You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ICU-20575 fix broken default locale mapping for C.UTF-8
- Correct regression in 1afef30 / ICU-20187
- PR#418 incorrectly dropped the mapping from C to en-us-POSIX without handling
cases where a codepage was set (such as C.UTF-8).
- The `strcmp("C", …)` in uprv_getPOSIXIDForCategory() was intended to detect
specific platform behavior, it is not a general mapping.
- Add an additional test in uprv_getDefaultLocaleID() for locales that end up
as "C" or "POSIX" after removing codepage suffix
- also fix regression where aa@bb would become aa__BB__BB
0 commit comments