0
我使用節點從url加載html頁面。這裏是我的代碼:內容html中出現問號 1 ?
request({
url : url,
timeout: 2000
}, function(error, response, html){
console.log(html);
});
但是當我跑它出現勒死字符 1 。我認爲這不是UTF-8。我該如何解決它。
例如網址:http://news.zing.vn/Nhung-hinh-anh-giau-cam-xuc-o-vong-17-VLeague-post560640.html