在emacs编辑python文件中带有中文会报错,但是不会影响程序在ipython运行

Windows下面试试修改Emacs的默认编码为UTF-8

(set-default-coding-systems 'utf-8-unix)
(set-buffer-file-coding-system 'utf-8-unix)