diff options
-rw-r--r-- | lib/libc/locale/nl_langinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c index ae1512bac4b1..fd15eb2279f1 100644 --- a/lib/libc/locale/nl_langinfo.c +++ b/lib/libc/locale/nl_langinfo.c @@ -51,7 +51,8 @@ nl_langinfo(nl_item item) { if ((cs = strchr(s, '.')) != NULL) ret = cs + 1; else if (strcmp(s, "C") == 0 || - strcmp(s, "POSIX") == 0) + strcmp(s, "POSIX") == 0 || + strstr(s, "ASCII") != NULL) ret = "US-ASCII"; } break; |