[issue42318] [tkinter] surrogate pairs in Tcl/Tk string when pasting an emoji in a text widget

Ronald Oussoren report at bugs.python.org
Fri Nov 13 13:37:15 EST 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

When I assign root.clipboard_get() to "v" I get:

>>> print(ascii(v))
'\udced\udca0\udcbd\udced\udcb8\udc84'
>>> print(v)
??????

This is with Tk 8.6.10.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42318>
_______________________________________


More information about the Python-bugs-list mailing list