[issue14777] Tkinter clipboard_get() decodes characters incorrectly

Thomas Kluyver report at bugs.python.org
Sun May 13 21:33:40 CEST 2012


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

But the encoding used seemingly depends on the source application - Geany (GTK 2, I think) seemingly sends UTF8 text anyway, whereas Firefox escapes the unicode character. So I don't think we can correctly decode the STRING value in all cases.

The Tk documentation describes UTF8_STRING as being the "most useful" type on modern X11.

----------

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


More information about the Python-bugs-list mailing list