commit | 4cfae027b39d14a5a43f337c1a38b42d7461dd3a | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Jul 24 02:51:01 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Jul 24 02:51:01 2011 +0200 |
tree | a099cd8fcaabaf4c6cb3aff1e686bcae50f745f6 | |
parent | a620facc1f66654c1b3337ed6d7dfa158cfaf8f2 [diff] [blame] |
Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.
diff --git a/Python/codecs.c b/Python/codecs.c index 57bd0f4..7334eb3 100644 --- a/Python/codecs.c +++ b/Python/codecs.c
@@ -70,7 +70,7 @@ if (ch == ' ') ch = '-'; else - ch = tolower(Py_CHARMASK(ch)); + ch = Py_TOLOWER(Py_CHARMASK(ch)); p[i] = ch; } return v;