Message58843
> print u"\u0069".upper()
>
> should give \u0130 (LATIN CAPITAL LETTER I WITH DOT ABOVE)
>
> print u"\u0049".lower()
>
> should give \u0131 (LATIN SMALL LETTER DOTLESS I)
>
> These transformations work fine with python2.5 when
> --with-wctype-functions is used.
I think that is rather a bug in the wctype functions. Those are ASCII
letters 'i' and 'I' and their upper/lower versions are fixed by the
Unicode standard to be the corresponding ASCII letters ('I' and 'i').
The Unicode case conversions are not affected by locale. |
|
| Date |
User |
Action |
Args |
| 2007-12-19 23:52:39 | gvanrossum | set | spambayes_score: 0.000229846 -> 0.000229846 recipients:
+ gvanrossum, loewis, amaury.forgeotdarc, cartman |
| 2007-12-19 23:52:39 | gvanrossum | link | issue1609 messages |
| 2007-12-19 23:52:38 | gvanrossum | create | |
|