linux python 转化编码格式 ansi 到 utf-8 def handle(file_path_ansi,file_path_utf8): with io.open(file_path_ansi, encoding='gbk', errors='ignore') as source: