[issue12342] characters with ord above 65535 fail to display in IDLE
report at bugs.python.org
Thu Jun 16 00:01:49 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> From the discussions here, http://wiki.tcl.tk/1364, it appears that Tcl
> 8.5 (and earlier) does not support Unicode code points outside
> the BMP range as in this example.
Extract of http://wiki.tcl.tk/1364 :
"RS 2008-07-09: Unicode out of BMP (> U+FFFF) requires a deeper rework of Tcl and Tk: we'd need 32 bit chars and/or surrogate pairs. UTF-8 at least can deal with 31-bit Unicodes by principle."
> I don't think there is anything practical IDLE
> or tkinter can do about that.
We might raise an error with better error message than ValueError('unsupported character'), but it's maybe overkill.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list