UTF-8 localeに切り替える
EamcsをUTF-8 localeに設定するのは、比較的簡単だ。
(if (equal (getenv "LANG") "ja_JP.UTF-8")
(progn (set-language-environment "Japanese")
(set-default-coding-systems 'utf-8-unix)
(set-keyboard-coding-system 'utf-8-unix)
(if (not window-system) (set-terminal-coding-system 'utf-8-unix))
)
(progn (set-language-environment "Japanese")
(set-default-coding-systems 'euc-japan-unix)
(set-keyboard-coding-system 'euc-japan-unix)
(if (not window-system) (set-terminal-coding-system 'euc-japan-unix))
)