forked from github/server
check that umlauts are properly recognized (locale supports UTF-8 properly)
This commit is contained in:
parent
9a037e2433
commit
bd322436ab
1 changed files with 1 additions and 0 deletions
|
@ -579,6 +579,7 @@ main(int argc, char *argv[])
|
|||
|
||||
lc_ctype = setlocale(LC_CTYPE, "");
|
||||
lc_numeric = setlocale(LC_NUMERIC, "C");
|
||||
assert(towlower(0xC4)==0xE4);
|
||||
if (lc_ctype) lc_ctype = strdup(lc_ctype);
|
||||
if (lc_numeric) lc_numeric = strdup(lc_numeric);
|
||||
|
||||
|
|
Loading…
Reference in a new issue