Árni Már Jónsson added the comment:
There is more to this bug than appears. I'm guessing that the name
mangling code in locale (e.g. the normalizing code) is locale dependent.
See this example:
#!/usr/bin/python2.5
import locale
print 'TR', locale.normalize('tr')
print locale.setlocale
Changes by Árni Már Jónsson:
--
components: +Library (Lib) -Interpreter Core
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1813
__
___
Python-bugs-list mailing list
New submission from Árni Már Jónsson:
When switching to a turkish locale, the codecs registry fails on a codec
lookup which worked before the locale change.
This happens when the codec name contains an uppercase 'I'. What
happens, is just before doing a cache lookup, the string is normalized
New submission from Árni Már Jónsson:
There is a utf-7 decoding error when decoding strings which have a shift
sequence at a certain place. To reproduce run the attached program on a
file containing the string:
0123456789012345678901234567890123456789012345678901234567890123456789X+-.
The shift
Árni Már Jónsson added the comment:
Added a test file.
Added file: http://bugs.python.org/file8774/test
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1460
__
test
Description: Binary data