[issue14777] Tkinter clipboard_get() decodes characters incorrectly

Thomas Kluyver report at bugs.python.org
Fri May 11 21:09:54 CEST 2012


Thomas Kluyver <takowl at gmail.com> added the comment:

On this computer, I see this from Tcl:

$ wish
% clipboard get
abc\u20ac

But here Python's following suit:

>>> root.clipboard_get()
'abc\\u20ac'

Which is odd, because as far as I know, my two computers run the same OS (Ubuntu 12.04) in the same configuration. I briefly thought the presence of xsel might be affecting it, but uninstalling it doesn't seem to make any difference.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14777>
_______________________________________


More information about the Python-bugs-list mailing list