bburns / clipmon

Clipboard monitor for Emacs - monitors clipboard and pastes contents on change
95 stars 5 forks source link

Copy Chinese text in Notepad with clipmon-mode on, after timer hit, clipboard contents converted to ascii characters #11

Closed bburns closed 8 years ago

bburns commented 8 years ago

Somehow reading the clipboard contents resets it to just have plain ascii format

bburns commented 8 years ago

This is related to selection-coding-system -

(setq selection-coding-system 'utf-8-unix) ; was causing chinese characters to revert to ascii
(setq selection-coding-system 'utf-16le-dos) ; default for windows - works better with chinese