Skip to content

Emoji "eye in speech bubble" is not interpreted correctly #46

Description

@yantene

There is an emoji named "eye in speech bubble" in the Unicode Emoji List.

eye in speech bubble - Emoji List, v5.0

According to this list, the emoji consists of codepoint U+1F441 U+FE0F U+200D U+1F5E8 U+FE0F,
but the following code returns nil.

Twemoji.find_by(unicode: "\u{1f441}\u{fe0f}\u{200d}\u{1f5e8}\u{fe0f}")

This is because the emoji has a codepoint U+1F441 U+200D U+1F5E8 in this gem.

Codepoint U+FE0F is "emoji presentation selector", a variation selector for emojis.

Similar issues are also found in keycap emojis. (:hash:, :asterisk:, etc.)
On the other hand, :{man,woman}-{kiss,heart}-{man,woman}: emojis contains U+FE0F in this gem.

I think this is a problem.
I think this issue should be fixed, but I have no idea.
What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions