Fastest way to convert file from latin1 to utf-8 in python

前端 未结 3 2008
一生所求
一生所求 2021-02-10 04:17

I need fastest way to convert files from latin1 to utf-8 in python. The files are large ~ 2G. ( I am moving DB data ). So far I have

import codecs
infile = codec         


        
3条回答
提交回复
热议问题