This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author donmez
Recipients amaury.forgeotdarc, donmez, gvanrossum
Date 2007-12-19.20:26:44
SpamBayes Score 0.00013393666
Marked as misclassified No
Message-id <1198096005.07.0.30007239065.issue1609@psf.upfronthosting.co.za>
In-reply-to
Content
Situation is even more complicated, following functions behave
_correctly_ when wctypes is enabled :

>>> print unicode("iiiii").upper()
İİİİİ
>>> print unicode("IIII").lower()
ıııı

Following doesn't work even if wctypes is enabled :

>>> print unicode("ıııı").upper()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 0:
ordinal not in range(128)
>>> print unicode("İİİİİ").lower()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 0:
ordinal not in range(128)

All of these four calls works fine in python 2.4 when wctypes is enabled.
History
Date User Action Args
2007-12-19 20:26:45donmezsetspambayes_score: 0.000133937 -> 0.00013393666
recipients: + donmez, gvanrossum, amaury.forgeotdarc
2007-12-19 20:26:45donmezsetspambayes_score: 0.000133937 -> 0.000133937
messageid: <1198096005.07.0.30007239065.issue1609@psf.upfronthosting.co.za>
2007-12-19 20:26:45donmezlinkissue1609 messages
2007-12-19 20:26:44donmezcreate