开头加入以下代码解决
import codecs, sys
sys.stdout = codecs.getwriter('utf8')(sys.stdout.buffer)
python3 cgi中utf-8乱码问题
猜你喜欢
转载自blog.csdn.net/xyf_1995/article/details/81158062
今日推荐
周排行