12/21/08

Emacs utf8 and Chinese on Windows

Download EmacsW32 latest binary (emacs 23 + emacsw32). Then add following to your .emacs
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

All your problems of viewing/editing Chinese on Windows Emacs will go away.

No comments: