commit | cf9d3c08c85e659a322d24467fc972959e326c9a | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Jul 24 02:27:04 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Jul 24 02:27:04 2011 +0200 |
tree | e1faa4c123870921ec03fcbe14811f449c143845 | |
parent | 216a3bc36d31df71544fd9a11b98fca4efeb8182 [diff] [blame] |
Issue #1813: Fix codec lookup under Turkish locales.
diff --git a/Python/codecs.c b/Python/codecs.c index 45d9929..1a3e457 100644 --- a/Python/codecs.c +++ b/Python/codecs.c
@@ -69,7 +69,7 @@ if (ch == ' ') ch = '-'; else - ch = tolower(Py_CHARMASK(ch)); + ch = Py_TOLOWER(Py_CHARMASK(ch)); p[i] = ch; } p[i] = '\0';