commit | 724a55c5252a79172ce5f5f35e8db1de287e207e | [log] [tgz] |
---|---|---|
author | Ned Deily <nad@acm.org> | Tue May 15 18:05:57 2012 -0700 |
committer | Ned Deily <nad@acm.org> | Tue May 15 18:05:57 2012 -0700 |
tree | d2340e074e2e1b66a179cdd4e599ef26e068e0db | |
parent | 580227a8a0d37ebff27815ca2eaadadc592dcb31 [diff] |
Issue #14777: In an X11 windowing environment, tkinter may return 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.