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

with open('target.txt', 'r', encoding='utf_8_sig') as fp:
	print(fp.read())
posted @ 2017-02-07 10:56  夕先生  阅读(1405)  评论(0编辑  收藏  举报