Serhiy Storchaka <storch...@gmail.com> 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 <rep...@bugs.python.org> <http://bugs.python.org/issue14304> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com