Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mutable-encoding support error #4

Open
ntop001 opened this issue Sep 30, 2011 · 0 comments
Open

mutable-encoding support error #4

ntop001 opened this issue Sep 30, 2011 · 0 comments

Comments

@ntop001
Copy link

ntop001 commented Sep 30, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant