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

Single Emoji and multiple Emojis detection cannot be done #86

Open
nicolas-zozol opened this issue Oct 12, 2017 · 0 comments
Open

Single Emoji and multiple Emojis detection cannot be done #86

nicolas-zozol opened this issue Oct 12, 2017 · 0 comments

Comments

@nicolas-zozol
Copy link
Collaborator

Emoji is not compatible with Javascript characters, which are utf-16 sequences. Some emojis just take two JS characters, for what I have understood.

https://stackoverflow.com/a/22315491/968988

https://medium.com/reactnative/emojis-in-javascript-f693d0eb79fb
(note that regexp here is much more simple than this one : https://github.com/mathiasbynens/emoji-regex/blob/master/index.js)

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