解决办法 ;
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/
标签:character gpo python3 cte char overflow sequence .com question
解决办法 ;
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/
标签:character gpo python3 cte char overflow sequence .com question
原文地址:https://www.cnblogs.com/huchaoheng/p/8127267.html