[issue1813] Codec lookup failing under turkish locale

2008-02-15 Thread Árni Már Jónsson
Á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

[issue1813] Codec lookup failing under turkish locale

2008-02-13 Thread Árni Már Jónsson
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

[issue1813] Codec lookup failing under turkish locale

2008-01-12 Thread Árni Már Jónsson
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

[issue1460] codecs utf7 decoding error

2007-11-19 Thread Árni Már Jónsson
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

[issue1460] codecs utf7 decoding error

2007-11-19 Thread Árni Már Jónsson
Á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