a= "S".encode("gbk").decode("utf-8",'ignore')
print(a)
一个编码为GBK的字符串 转成 UTF-8 编码
猜你喜欢
转载自blog.csdn.net/Da___Vinci/article/details/92806292
今日推荐
周排行