python 中文乱码问题2

1.文件存为utf-8的格式,windows和linux两个环境都可以用 2.中文输出可以采用u方法 比如:print u'成年'
原文地址:https://www.cnblogs.com/bokucoukei/p/4693946.html