Discuss / Python / utf-8编码

utf-8编码

Topic source

v尐EVE

#1 Created at ... [Delete] [Delete and Lock User]

我用utf-8编码,打印中文,编译的时候报错,最后改成coding=gbk就编译通过了

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

那是因为保存的时候也要用utf-8保存


  • 1

Reply