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

Rewrites Thai characters into gibberish #4

Open
tobiasmuehl opened this issue Jun 17, 2019 · 0 comments
Open

Rewrites Thai characters into gibberish #4

tobiasmuehl opened this issue Jun 17, 2019 · 0 comments

Comments

@tobiasmuehl
Copy link

If any text node includes Thai characters, the script ends up rewriting them into HTML-escaped characters, but not the right ones.

Input:

<p>โหลด-เกม</p>

Output:

<p>&agrave;&sup1;&#130;&agrave;&cedil;&laquo;&agrave;&cedil;&yen;&agrave;&cedil;&#148; &agrave;&sup1;&#128;&agrave;&cedil;&#129;&agrave;&cedil;&iexcl;</p>
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