当前位置: 代码迷 >> 综合 >> pyhton报错:UnicodeEncodeError: 'gbk' codec can't encode character u'\xbb' in
  详细解决方案

pyhton报错:UnicodeEncodeError: 'gbk' codec can't encode character u'\xbb' in

热度:80   发布时间:2023-12-03 21:58:46.0

 响应结果忽略gbk

response.content.decode('GBK','ignore')

 

  相关解决方案