Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information