Emacs encoding of pasted text

懵懂的女人 提交于 2020-01-05 04:42:29

问题


I'm using (occasionaly) emacs24.3 on windows 8 and I have a problem of encoding when pasting text, non ascii characters being replaced by their \uucode. My emacs coding default are utf-8

I tried to have a quick look in the apropos help, but nothing matched the keywords i used.

What would be the variable to configure, and the value of system encoding for a windows os?


回答1:


After some digging, and orientation from lawlist link

I went for (set-clipboard-coding-system 'utf-16le-dos)



来源:https://stackoverflow.com/questions/22647517/emacs-encoding-of-pasted-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!