From 4cfae027b39d14a5a43f337c1a38b42d7461dd3a Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 24 Jul 2011 02:51:01 +0200 Subject: Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales. --- Python/codecs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/codecs.c') diff --git a/Python/codecs.c b/Python/codecs.c index 57bd0f41ff..7334eb3e36 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -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; -- cgit v1.2.1