Tags related to tag i18n
Wednesday, June 13. 2007
Emacs and UTF-8 Encoding
Want to get UTF-8 (unicode) to work on Emacs but don't know where to start?
Snarf this, and toss it in your .emacs.
Snarf this, and toss it in your .emacs.
;;;;;;;;;;;;;;;;;;;; ;; set up unicode (prefer-coding-system 'utf-8) (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) ;; This from a japanese individual. I hope it works. (setq default-buffer-file-coding-system 'utf-8) ;; From Emacs wiki (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) ;; MS Windows clipboard is UTF-16LE (set-clipboard-coding-system 'utf-16le-dos)The part about the clipboard-coding-system is essential for MS windows users who want to transfer content back and forth between windows apps and Emacs.
(Page 1 of 1, totaling 1 entries)




