摘要:
s = '你好's_gbk = s.encode('gbk')print(s)print(s.encode())print(s_gbk)gbk_to_utf8 = s_gbk.decode("gbk").encode("utf-8")# 先decode,声明编码类型(告诉电脑),再encode,转自 阅读全文
posted @ 2018-04-07 20:42
222kd
阅读(102)
评论(0)
推荐(0)
2018年4月7日