
report at bugs
Apr 28, 2012, 11:32 AM
Post #15 of 24
(156 views)
Permalink
|
Serhiy Storchaka <storchaka [at] gmail> added the comment: 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. ---------- _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue14304> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|