HTML响应格式
第一种
html.encoding="utf-8"
第二种
html.encoding="GBK"
第三种
response=requests.get('www.test.com')
response.encoding = response.apparent_encoding
第三种的来源于:大佬整理的比较详细。(click)
第一种
html.encoding="utf-8"
第二种
html.encoding="GBK"
第三种
response=requests.get('www.test.com')
response.encoding = response.apparent_encoding
第三种的来源于:大佬整理的比较详细。(click)