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

Garbled parsing results of 'https://bbs.byr.cn/rss/topten' #76

Closed
Jessense opened this issue Oct 5, 2018 · 1 comment
Closed

Garbled parsing results of 'https://bbs.byr.cn/rss/topten' #76

Jessense opened this issue Oct 5, 2018 · 1 comment

Comments

@Jessense
Copy link

Jessense commented Oct 5, 2018

Here is the RunKit test result:
image
While there is no such problem in parsing other Chinese sources.

It will be very appreciated if you can help me with this problem.
(BTW, Thanks for solving the issues I submitted before.)

@rbren
Copy link
Owner

rbren commented Oct 8, 2018

It looks like this feed uses the GBK character set, which is not supported. You should try downloading the feed using the request or https library, and then using iconv to convert the characters.

@rbren rbren closed this as completed Oct 8, 2018
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

2 participants