Irit Katriel added the comment:
Jiri, if you are still having this problem in 3.9+, and Glenn's suggestion to
escape the error is not helpful, please create a new issue and include code to
reproduce it.
Python 2.7 is no longer maintained.
--
nosy: +iritkatriel
resolution: -> out
Glenn Linderman added the comment:
The problem here is that the error message is trying to write to an output
device using ASCII. If there is no error, there is no error message print
attempt. The error message, when written to an ASCII device, needs to be
escaped.
Jiri Prajzner 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
Jiri Prajzner added the comment:
Locate "URL
\u307e\u305f\u306f\u691c\u7d22\u8a9e\u53e5\u3092\u5165\u529b\u3057\u307e\u3059"->"URL
\u307e\u305f\u306f\u691c\u7d22\u8a9e\u53e5\u3092\u5165\u529b\u3057\u307e\u3059"
and browse "http://www.google.com; website throws the same
New submission from Jiri Prajzner :
Locate "Barra de navegació"->"Término de búsqueda o dirección" and browse
"http://www.columbia.edu/~fdc/utf8/; website - results in:
Exception UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
73: ordinal not in