mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.
This commit is contained in:
parent
a620facc1f
commit
4cfae027b3
5 changed files with 39 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue