简体   繁体   中英

Emacs encoding of pasted text

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?

After some digging , and orientation from lawlist link

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM