Handle "ASCII" and "US-ASCII" aliases
This commit is contained in:
parent
d477cc66c4
commit
72ffa91a6b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user