[issue2517] Error when printing an exception containing a Unicode string
Benjamin Peterson
report at bugs.python.org
Mon Mar 31 01:21:26 CEST 2008
Benjamin Peterson <musiccomposition at gmail.com> added the comment:
That is because Python encodes it's error messages as ASCII by default,
and "ü" is not in ASCII. You can fix this by using "print
unicode_msg.encode("utf-8")" or something similar.
----------
nosy: +benjamin.peterson
resolution: -> invalid
status: open -> closed
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2517>
__________________________________
More information about the Python-bugs-list
mailing list