Python 编码与解码:
1.0 解码:encoding = ‘utf-8/utf8/UTF-8/UTF8‘,要想解码,必须知道用什么方式编码的。
with open(‘test‘,‘r‘,encoding = ‘utf-8‘) as e: print(e.read())
原文地址:https://www.cnblogs.com/rollost/p/10960987.html
时间: 2024-11-05 16:29:41
with open(‘test‘,‘r‘,encoding = ‘utf-8‘) as e: print(e.read())
原文地址:https://www.cnblogs.com/rollost/p/10960987.html