Showing posts with label utf8. Show all posts
Showing posts with label utf8. Show all posts

Sunday, 13 May 2007

Copying UTF into Emacs

It's been annoying me for ages, but I never really got UTF copy/paste working right in Emacs. Finally (procrastinating from German revision) I found a solution that works for copying from Firefox at least.

The solution is detailed here and I'm eternally grateful. Basically, just put the following code somewhere in your .emacs:

(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))


And, voila, umlauts (like รถ) and I presume strange characters from other languages will appear in all their glory!