decode前先encode(python)

xstring = unicode(xstring.encode('cp936').decode('cp936'))

posted @ 2020-11-17 18:34  yanyanlianf  阅读(62)  评论(0)    收藏  举报