How to reset emacs to save files in utf-8-unix character encoding?

后端 未结 3 474
忘掉有多难
忘掉有多难 2020-12-17 01:30

I have a problem. I found out that emacs recently stopped to save all my new files with the default character set \"utf-8-unix\". I do not understand what

3条回答
  •  不知归路
    2020-12-17 01:49

    To get back the described old behavior, try adding

    (set-language-environment "UTF-8")
    

    to your .emacs startup file.

提交回复
热议问题