[issue4008] IDLE: checksyntax() doesn't support Unicode?
report at bugs.python.org
Sat Oct 4 13:24:21 CEST 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
IDLE opens the script many than once. There are two cases:
(1) first open when IDLE read the file content to display it
(2) second open on pressing F5 key (Run Module) to check the syntax
(1) uses IOBinding and fails to open ISO-8859-1 file with UTF-8
(2) uses ScriptBinding and fails to open UTF-8 file with ASCII locale.
About the initial problem (idle-3.0rc1-quits-when-run.py), yes, I
forgot to say that you have to run the module, sorry :-/
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list