From 13cbc8430c90032f5351afd156632336c59e9674 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 24 Jul 2011 02:27:04 +0200 Subject: Issue #1813: Fix codec lookup 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 45d99291f1..1a3e45774c 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -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'; -- cgit v1.2.1