Message159531
I don't see what the patch worse than the current behavior.
Unpatched:
>>> ''.join(map(chr, [76, 246, 119, 105, 115]))
'Löwis'
>>> ''.join(map(chr, [76, 246, 119, 105, 115, 65536]))
'L\xf6wis\U00010000'
Patched:
>>> ''.join(map(chr, [76, 246, 119, 105, 115]))
'Löwis'
>>> ''.join(map(chr, [76, 246, 119, 105, 115, 65536]))
'Löwis\U00010000'
In the case of the Cyrillic alphabet all text becomes unreadable, if there are some non-bmp characters in it. |
|
Date |
User |
Action |
Args |
2012-04-28 18:32:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, pitrou, vstinner, ezio.melotti, roger.serwy, asvetlov |
2012-04-28 18:32:33 | serhiy.storchaka | set | messageid: <1335637953.25.0.162969191105.issue14304@psf.upfronthosting.co.za> |
2012-04-28 18:32:32 | serhiy.storchaka | link | issue14304 messages |
2012-04-28 18:32:32 | serhiy.storchaka | create | |
|