with Path(CURRENT_DIR, 'templates', 'technical_500.html').open() as fh:
修改为:
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open(encoding='utf-8') as fh:
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open() as fh:
修改为:
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open(encoding='utf-8') as fh:
本文标题:UnicodeDecodeError: 'gbk' codec
本文链接:https://www.haomeiwen.com/subject/idiepktx.html
网友评论