python 编码和解码

mac2022-06-30  24

temp='旺旺' temp_utf-8=temp.decode('utf-8') temp_gbk=temp_utf-8.encode('gbk') print(temp_gbk)

 

转载于:https://www.cnblogs.com/ezway/p/6349790.html

最新回复(0)