let axios = require('axios') let httpurl = "https://www.dytt8.net/index.htm" axios.get(httpurl,{responseType:"gb2312"}).then(function(res){
console.log(res)
})
请问该如何设置才能让返回的中文不是乱码呢?
{responseType:"gb2312"}去掉。或者换成uft8
1.4m articles
1.4m replys
5 comments
57.0k users