Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.

This commit is contained in:
Antoine Pitrou 2011-07-24 02:51:01 +02:00
parent a620facc1f
commit 4cfae027b3
5 changed files with 39 additions and 2 deletions

View file

@ -70,7 +70,7 @@ PyObject *normalizestring(const char *string)
if (ch == ' ')
ch = '-';
else
ch = tolower(Py_CHARMASK(ch));
ch = Py_TOLOWER(Py_CHARMASK(ch));
p[i] = ch;
}
return v;