【python-HTMLTestRunner】生成HTMLTestRunner报告报错ERROR 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)

【python-HTMLTestRunner】生成HTMLTestRunner报告报错:
ERROR 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)
【python-HTMLTestRunner】生成HTMLTestRunner报告报错ERROR 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128) 需要在HTMLTestRunner开头转化utf-8的代码
import sys
reload(sys)
sys.setdefaultencoding('utf8') 问题解决
上一篇:jQuery基础教程之is()方法和has() 方法


下一篇:error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2