Issue #1813: Fix codec lookup under Turkish locales.
This commit is contained in:
@@ -69,7 +69,7 @@ PyObject *normalizestring(const char *string)
|
||||
if (ch == ' ')
|
||||
ch = '-';
|
||||
else
|
||||
ch = tolower(Py_CHARMASK(ch));
|
||||
ch = Py_TOLOWER(Py_CHARMASK(ch));
|
||||
p[i] = ch;
|
||||
}
|
||||
p[i] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user