vim打开python脚本,其中中文乱码,且使用print打印出来也是乱码,使用:set encoding=utf-8 即OK。
http://blog.chinaunix.net/uid-26696487-id-3082298.html
http://forum.ubuntu.org.cn/viewtopic.php?p=2498184
http://www.tuicool.com/articles/7VFFN3
vim打开python脚本,其中中文乱码,且使用print打印出来也是乱码,使用:set encoding=utf-8 即OK。
http://blog.chinaunix.net/uid-26696487-id-3082298.html
http://forum.ubuntu.org.cn/viewtopic.php?p=2498184
http://www.tuicool.com/articles/7VFFN3