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

stringByReplacingHTMLEntities can't trans emoji #996

Closed
codwam opened this issue Sep 1, 2016 · 2 comments
Closed

stringByReplacingHTMLEntities can't trans emoji #996

codwam opened this issue Sep 1, 2016 · 2 comments

Comments

@codwam
Copy link

codwam commented Sep 1, 2016

咯菌腈快咯
&# 128546;&# 128532;&# 128532;&# 128546;&# 10;
--------->
WKWebView will show below, but the stringByReplacingHTMLEntities can't trans emoji
The second line I add an space,
--------->
咯菌腈快咯
😢😔😔😢

Below may be help:
http://stackoverflow.com/questions/24913046/ios-dynamically-create-and-display-unicode-strings
https://github.com/diy/NSStringEmojize/blob/master/NSStringEmojize/emojis.h

@odrobnik
Copy link
Collaborator

Please provide steps to reproduce the issue with the Demo app or rather fix it and provide a pull request please.

@codwam
Copy link
Author

codwam commented Oct 7, 2016

It's fixed.

@codwam codwam closed this as completed Oct 7, 2016
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