en_US.UTF-8 is also supported.
Change-Id: Ic35fad3596dc5e24ee8ae35543a274a471f27bb2
(cherry picked from commit 1abb8bd21d
)
This commit is contained in:
parent
d0a80a927f
commit
7149362d33
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@ static bool __bionic_current_locale_is_utf8 = false;
|
|||
|
||||
static bool __is_supported_locale(const char* locale) {
|
||||
return (strcmp(locale, "") == 0 ||
|
||||
strcmp(locale, "C") == 0 || strcmp(locale, "C.UTF-8") == 0 ||
|
||||
strcmp(locale, "C") == 0 ||
|
||||
strcmp(locale, "C.UTF-8") == 0 ||
|
||||
strcmp(locale, "en_US.UTF-8") == 0 ||
|
||||
strcmp(locale, "POSIX") == 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue