0
点赞
收藏
分享

微信扫一扫

读码,解码,转换

目标践行者 2022-02-14 阅读 75
python
import chardet
f = open('ff2.csv','rb')
data = f.read()
chardet.detect(data)

{'encoding': 'GB2312', 'confidence': 0.99, 'language': 'Chinese'}
举报

相关推荐

0 条评论