Roger Serwy <roger.se...@gmail.com> added the comment:

The Tkinter Text widget is the output for the IDLE shell and it has the 
limitation imposed by Tcl/Tk of not handling non-BMP unicode characters. 

Is the following reasonable: The IDLE shell console has a locale of "non-BMP 
utf8"?

If so, would it be reasonable to add a menu item to switch locales for the 
shell? This amounts to adding some extra code to OutputWindow's write() to 
raise encoding errors if the string contains unsupported characters, and 
possibly replacing characters to work around Tcl/Tk's non-BMP limitation.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14200>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to