python flask报错
错误内容:
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte
分析:
读取文件方式问题
现场:
解决办法:
读取文件方式改为:“rb”
python flask报错
错误内容:
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte
分析:
读取文件方式问题
现场:
解决办法:
读取文件方式改为:“rb”