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

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