LANG=ja_JP.utf-8の環境だと最初から
(set-language-environment "Japanese")
(prefer-coding-system 'utf-8-unix)
になってるように思う。