摘要: Windows,Python2环境下,当gVim配置了 set fileencoding=utf-8,则新建文件编码方式为utf-8。 ○ 如果代码不包含中文,或者仅包含中文注释,则utf-8编码方式可以用。只要在文件头加上 # -*- coding:utf-8 -*- 即可。可以在gVim中使用命 阅读全文
posted @ 2017-04-23 18:03 Anonymous596 阅读(244) 评论(0) 推荐(0)