Making IDLE3 ignore non-BMP characters instead of throwing an exception?

Random832 random832 at fastmail.com
Mon Oct 17 16:35:22 EDT 2016


On Mon, Oct 17, 2016, at 14:20, eryk sun wrote:
> You can patch print() to transcode non-BMP characters as surrogate
> pairs. For example:
> 
> On Windows this should allow printing non-BMP characters such as
> emojis (e.g. U+0001F44C).

I thought there was some reason this wouldn't work with tk, or else
tkinter would do it already?



More information about the Python-list mailing list