python 中encoding值可以选择哪些?

b_1=str2.encode(encoding='unicode_escape') #ansi ,GBK,gb2312,utf-8,utf-16,ascii,unicode_escape
posted on 2022-02-22 16:27  ClareBaby01  阅读(900)  评论(0编辑  收藏  举报