wjssz added the comment: I suggest don't change the content of file, just give a message such as:
IDLE can't display non-BMP character (codepoint above 0xFFFF). A non-BMP character found in Line 23, position 8 of aaaa.py, please open this file with other editor. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com