Handle "ASCII" and "US-ASCII" aliases

This commit is contained in:
ache 2001-06-10 23:22:31 +00:00
parent d477cc66c4
commit 72ffa91a6b

View File

@ -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;