解决办法 ;

a=r.text.replace('\xa0',' ')

详情参见
https://stackoverflow.com/questions/10993612/python-removing-xa0-from-string
http://www.aobosir.com/blog/2016/11/26/python3-UnicodeEncodeError-gbk-codec-can't-encode-character-xa0/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
猜你喜欢
  • 2022-02-09
  • 2022-02-25
  • 2022-12-23
  • 2022-02-04
  • 2021-12-25
  • 2021-09-02
  • 2022-12-23
相关资源
相似解决方案