]> git.eshelyaron.com Git - emacs.git/commit
Fix encoding of multibyte ToolTalk filenames
authorPo Lu <luangruo@yahoo.com>
Sun, 12 Jun 2022 14:04:47 +0000 (22:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 12 Jun 2022 14:04:47 +0000 (22:04 +0800)
commit1dd92bb7b8817038577626a13d7464a09e4d8a27
tree7a1b93f277c7b0b2ded6290ce2ba39189c0e97fe
parent6263f586b87a952e00103a82af1dd0360c1a238d
Fix encoding of multibyte ToolTalk filenames

* lisp/select.el (xselect-convert-to-dt-netfile): Encode file
name before computing its tooltalk name, since the indices work
on bytes.

* test/lisp/dnd-tests.el (dnd-tests-begin-file-drag): Add test.
lisp/select.el
test/lisp/dnd-tests.el