You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it always get error on 'gbk' econding ,my solution is as below:
var iconv = new Iconv(response.type.charset, 'UTF-8//TRANSLIT//IGNORE');
add to params '/TRANSLIT//IGNORE', it really works on fetching rss xml, but when it fetching html files and convert it's encode
from 'gbk' to 'utf-8' it got error ,agian , all the 'gbk' character got lost (since i used ignore). Can you fix the problem if you got some
time?
it always get error on 'gbk' econding ,my solution is as below:
var iconv = new Iconv(response.type.charset, 'UTF-8//TRANSLIT//IGNORE');
add to params '/TRANSLIT//IGNORE', it really works on fetching rss xml, but when it fetching html files and convert it's encode
from 'gbk' to 'utf-8' it got error ,agian , all the 'gbk' character got lost (since i used ignore). Can you fix the problem if you got some
time?
this is my test website:
http://news.163.com/special/00011K6L/rss_newstop.xml
The text was updated successfully, but these errors were encountered: