commit | a4c14fda9176678cadb65fb53f503fda6668f8d1 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Fri Jul 25 18:35:03 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jul 24 20:55:36 2014 +0000 |
tree | 53bbf37102d4f12e095eab1816506e7b84153479 | |
parent | 123172ae370fe51e2d1fc26fe0aafa095af52919 [diff] | |
parent | 1abb8bd21d64c2bd21258469b688483f821974d5 [diff] |
Merge "en_US.UTF-8 is also supported."
diff --git a/libc/bionic/locale.cpp b/libc/bionic/locale.cpp index 5a1da43..363140e 100644 --- a/libc/bionic/locale.cpp +++ b/libc/bionic/locale.cpp
@@ -79,7 +79,9 @@ 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); }