Added charset and coding-system priority for emacs