编码和解码

encode('utf-8')  将文件按 utf-8 的格式 编码 成 二进制字符

decode('utf-8')  将二进制字符 解码 成 utf-8 的格式

posted @ 2020-09-01 16:29  yxlll  阅读(176)  评论(0编辑  收藏  举报