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

Handle the full-text content in other language #249

Open
dawnyesky opened this issue Jan 26, 2021 · 1 comment
Open

Handle the full-text content in other language #249

dawnyesky opened this issue Jan 26, 2021 · 1 comment

Comments

@dawnyesky
Copy link

The result of retrieving non English webpage is not encoded well. It returned the strings of hex digits (e.g. "中新网") instead of encoded text. Is there a way to fix it? I tried the CLI version of Mercury Parser and pass the parameter --format markdown, which resulting in correct text. But I have no idea how to add this kind of parameter in calling the mercury-parser-api. Please try the example URLs below to reproduce the problem:

  1. https://news.sina.com.cn/c/2021-01-23/doc-ikftssan9988691.shtml
  2. http://www.chinanews.com/sh/2021/01-24/9395190.shtml
@HenryQW
Copy link
Owner

HenryQW commented Jan 26, 2021

Not sure if it's due to encodind, unfortunately I do not have time to investigate this now. postlight/parser#425

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