mirror of
https://github.com/python/cpython.git
synced 2026-05-09 22:20:38 -04:00
4d377d98a1
undecoded UTF-8 bytes as a string when accessing the Tk clipboard. Modify clipboad_get() to first request type UTF8_STRING when no specific type is requested in an X11 windowing environment, falling back to the current default type STRING if that fails. Original patch by Thomas Kluyver.