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?
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.
This is because the emoji has a codepoint
U+1F441 U+200D U+1F5E8in this gem.Codepoint
U+FE0Fis "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 containsU+FE0Fin this gem.I think this is a problem.
I think this issue should be fixed, but I have no idea.
What do you think?