[issue2827] IDLE 3.0a5 cannot handle UTF-8

Martin v. Löwis report at bugs.python.org
Fri Jan 2 23:08:13 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Moreover: do you think its good idea to change the file encoding at
> opened and then saved file without any question when there is no
> encoding declaration?

See my previous comment: one issue at a time. This issue was about
code that IDLE 3.0a5 cannot parse, but IDLE 3.0 can. If you have
a further issue with the proposed solution, please report it separately.

> Users do not edit just python programs, they
> can edit also config files, text files, etc ....

I don't think IDLE was designed to support editing any other files.
I would be opposed to adding user interface relevant only for editing
non-Python text files. If IDLE would assume a different encoding at save
time than was assumed at load time, this might be still considered
a bug; you would need to provide detailed instructions to reproduce
such a bug.

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


More information about the Python-bugs-list mailing list