Python 读取window下UTF-8-BOM 文件

with open('target.txt', 'r', encoding='utf_8_sig') as fp:
    print(fp.read())
相关文章
相关标签/搜索