python怎么使用decode?
字符串编码常用类型:utf-8,gb2312,cp936,gbk等。
python中,我们使用decode()和encode()来进行解码和编码
在python中,使用unicode类型作为编码的基础类型。即
decode encode
str ---------> unicode --------->str
Copyright © 广州京杭网络科技有限公司 2005-2025 版权所有 粤ICP备16019765号