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

Non-English support? #72

Closed
coderkind opened this issue Feb 26, 2019 · 1 comment
Closed

Non-English support? #72

coderkind opened this issue Feb 26, 2019 · 1 comment

Comments

@coderkind
Copy link

Hi,

am I right in saying this doesn't support non-English text (such as Arabic)? It seems to be converted to entities when I try.

@mathiasbynens
Copy link
Owner

That’s what he.encode is supposed to do. From the README:

he.encode(text, options)

This function takes a string of text and encodes (by default) any symbols that aren’t printable ASCII symbols and &, <, >, ", ', and `, replacing them with character references.

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