configure Emacs character encoding environment