(defvar is_mac (or (eq window-system 'mac) (featurep 'ns))) (set-language-environment 'utf-8) (prefer-coding-system 'utf-8) (when is_mac (require 'ucs-normalize) (setq file-name-coding-system 'utf-8-hfs) (setq local-coding-system 'utf-8-hfs) )
こんな感じ?