STINNER Victor added the comment: A solution for that would be to return the raw byte string or to return a list of integers, rather than an unicode string.
I don't think that locale.strxfrm() result is supposed to be displayed in a terminal, it should only be used to sort two strings, or to be used as a key function for list.sort() for example. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16258> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com