[issue32983] UnicodeDecodeError 'ascii' codec can't decode byte in position - ordinal not in range(128)

Jiri Prajzner report at bugs.python.org
Fri Mar 2 09:36:42 EST 2018


Jiri Prajzner <dr3dwerkz at gmail.com> added the comment:

Locate "\u179a\u1794\u17b6\u179a\u200b\u17a7\u1794\u1780\u179a\u178e\u17cd\u200b\u179a\u17bb\u1780\u179a\u1780\u200b"->"\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780 \u17ac\u200b\u1794\u1789\u17d2\u1785\u17bc\u179b\u200b\u17a2\u17b6\u179f\u1799\u178a\u17d2\u178b\u17b6\u1793" and browse "http://www.google.com" website 

versus 

Locate "\u179a\u1794\u17b6\u179a\u200b\u1798\u17c9\u17ba\u1793\u17bb\u1799"->"\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780 \u17ac\u200b\u1794\u1789\u17d2\u1785\u17bc\u179b\u200b\u17a2\u17b6\u179f\u1799\u178a\u17d2\u178b\u17b6\u1793" and browse "http://www.columbia.edu/~fdc/utf8/" website - this is km_KH.utf8 locale. msg313133 is ja_JP.utf8 locale

it looks like python unicode decode cannot compare strings well in these locales.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32983>
_______________________________________


More information about the Python-bugs-list mailing list