print输出乱码

来源:互联网 发布:淘宝网如何投诉买家 编辑:程序博客网 时间:2024/05/22 12:16
1
2
3
4
5
#encoding=utf-8
 
importsys
type= sys.getfilesystemencoding()
print'中国'.decode('utf8').encode(type)
0 0
原创粉丝点击