Emacs encoding of pasted text

2019-07-27 10:39发布

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条回答
狗以群分
2楼-- · 2019-07-27 10:42

After some digging, and orientation from lawlist link

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

查看更多
登录 后发表回答