[issue19625] IDLE 2.7 should use UTF-8 as it's default encoding

irdb report at bugs.python.org
Wed Apr 29 16:35:06 CEST 2015


irdb added the comment:

On cmd and powershell:

>python -c "import sys; print(sys.getdefaultencoding());"
utf-8
>python -c "import sys; print(sys.stdout.encoding);"
cp720

In IDLE:
>>> import sys; print(sys.getdefaultencoding());
utf-8
>>> sys.stdout.encoding
'cp1256'

----------

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


More information about the Python-bugs-list mailing list