当前位置: 代码迷 >> 综合 >> python 中文转码 思辨
  详细解决方案

python 中文转码 思辨

热度:23   发布时间:2024-01-16 08:20:33.0
res = urllib.unquote(str(res)).decode('gbk').encode('utf-8')
res = urllib.unquote(str(res)).decode('gbk','ignore').encode('gbk')

res = urllib.unquote(str(res)).decode('gbk','ignore').encode('gbk')

res = urllib.unquote(str(res))

  相关解决方案