[issue1602] windows console doesn't print or input Unicode

Drekin report at bugs.python.org
Sat Jan 3 11:27:07 CET 2015


Drekin added the comment:

I tried the following code:

import pdb
pdb.set_trace()
print(1 + 2)
print("αβγ∫")

When run in vanilla Python it indeed ends with UnicodeEncodeError as soon as it hits the line with non-ASCII characters. However, the solution via win_unicode_console package seems to work correctly. There is just an issue when you keep calling 'next' even after the main program ended. It ends with a RuntimeError after a few iterations. I didn't know that pdb can continue debugging after the main program has ended.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1602>
_______________________________________


More information about the Python-bugs-list mailing list