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

Text representation of emoji is different from emoticon #88

Merged
merged 1 commit into from
Jun 21, 2017
Merged

Text representation of emoji is different from emoticon #88

merged 1 commit into from
Jun 21, 2017

Conversation

savardc
Copy link

@savardc savardc commented May 31, 2017

Emoji-data provides the ascii representation of the emoji, available under text. The emoticons are in the texts field.

From the README for the texts field: Each ASCII emoji will only appear against a single emoji entry. This guarantees that an emoticon will map to a single emoji.

The current version uses the ascii representation when no emoticon is available for an emoji, which leads to invalid results when looking up an emoticon. For example, :) returns :blush: and :slightly_smiling_face: where there should only be a single match :slightly_smiling_face:

I kept the ascii representation in the data since it might be useful to render a text-only version of the emoji.

@savardc
Copy link
Author

savardc commented Jun 21, 2017

Hi @EtienneLem, do you see any issues with merging this? I understand if you're busy, I just want to make sure I didn't miss anything
Thanks

@EtienneLem EtienneLem merged commit 48f83e0 into missive:master Jun 21, 2017
@EtienneLem
Copy link
Member

Makes sense, thanks! 🤘

@savardc savardc deleted the textVsEmoticon branch June 21, 2017 18:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants