Andrew Svetlov <andrew.svet...@gmail.com> added the comment: Tkinter (as Tcl itself) has no support of non-BMP characters in any form. It looks like support of UTF-16 without surrogates. I like to implement codec for that which will process different error modes (strict, replace, ignore etc) as well as others codecs does.
It will allow to support BMP well and control processing of non-BMP in IDLE. About your second question. IDLE has interactive shell. This shell in REPL will try to print expression result. It it contains non-BMP whole result is converted to ASCII with escaping. It's different from standard python console. From my perspective expected behavior is to pass BMP chars and escape only non-BMP. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14304> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com