]> git.eshelyaron.com Git - emacs.git/commit
Fix unicode strings can't be pasted correctly
authorYuuki Harano <masm+github@masm11.me>
Tue, 2 Mar 2021 13:44:42 +0000 (22:44 +0900)
committerYuuki Harano <masm+github@masm11.me>
Tue, 2 Mar 2021 13:44:42 +0000 (22:44 +0900)
commit565995d408ca65ec9f981f175cca29d2164a5fd0
tree8db7aa64cecf8656f59a9e69d7559d61d9939dd4
parent436f21eda127882a8408bdc8ae0d398c2cf5aff2
Fix unicode strings can't be pasted correctly

* lisp/select.el (x-select-request-type): Use text/plain;charset=utf-8
instead.
(gui--selection-value-internal): same.
(gui-get-selection): Treat text/plain;charset=utf-8 as utf-8.
* src/pgtkselect.c (Fpgtk_get_selection_internal): Support
text/plain;charset=utf-8 as foreign-selection.
(syms_of_pgtkselect): Add new symbol.
lisp/select.el
src/pgtkselect.c