Mange / rofi-emoji

Emoji selector plugin for Rofi
MIT License
562 stars 26 forks source link

Question about missing sign #71

Closed sixtyfive closed 8 months ago

sixtyfive commented 8 months ago

Hi, I'm looking for something like rofi-emoji, but that includes all of Unicode.

The first sign I tried to insert happened to be ⇒ U+21D2 Rightwards Double Arrow Unicode Character, which at least wasn't discoverable to me (having tried double arrow, double and arrow as search terms). I noticed the same in rofimoji. 21D2 is from the Arrows block, which also includes 2198, which can easily be found by searching for south east or down right.

What's special about 21D2?

Mange commented 8 months ago

I think it's special in the sense that it appears to not be an emoji, just a normal Unicode character. It doesn't appear in Emojipedia.

Emojipedia lists the south east emoji like this:

Down-Right Arrow was approved as part of Unicode 1.1 in 1993 under the name "South East Arrow" and added to Emoji 1.0 in 2015. (Source)

Hence, it looks like when they wanted an emoji to point south east, they just reused the existing codepoint for it. This is why you get the emoji in some places and the normal font glyph in others.

The "⇒ U+21D2 Rightwards Double Arrow Unicode Character" hasn't been reused inside the Emoji standard yet, AFAIK.

Here's the Arrow block as it appears in the official Unicode CLDR repo, which this project uses: https://github.com/unicode-org/cldr/blob/66d15bfc1b4762b38bf1330319534e237d4670a3/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/emoji/emoji-test.txt#L4430-L4465

I hope this answers your question.

sixtyfive commented 8 months ago

It does, thank you. I'll keep searching then :-}