[issue1813] Codec lookup failing under turkish locale
report at bugs.python.org
Wed Jul 28 04:16:54 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
There is also a locale normalization function in unicodeobject.c: normalize_encoding(). This function uses "if (ISUPPER(*e)) *l++ = TOLOWER(*e++);" which uses the Python, *locale-independent*, implementation of ctype.
We should maybe use the ISUPPER / TOLOWER in codecs.c.
Anyway, a function should be fixed, but I don't know which one :-)
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list