03 编码解码
摘要:# coding:utf-8 x='上' res=x.encode('gbk') # unicode >gbk# print(res,type(res)) print(res.decode('gbk'))
阅读全文
posted @ 2023-02-27 17:24
posted @ 2023-02-27 17:24
posted @ 2023-02-27 17:24
posted @ 2023-02-27 17:23