mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Issue #1813: Fix codec lookup under Turkish locales.
This commit is contained in:
parent
216a3bc36d
commit
cf9d3c08c8
3 changed files with 17 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue