# coding:utf-8
x='上'
res=x.encode('gbk') # unicode--->gbk# print(res,type(res))
print(res.decode('gbk'))
posted on 2023-02-27 17:24 想起就不爽 阅读(9) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 想起就不爽 Powered by .NET 8.0 on Kubernetes