emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entering emojis


From: Robert Pluim
Subject: Re: Entering emojis
Date: Tue, 26 Oct 2021 20:07:01 +0200

>>>>> On Tue, 26 Oct 2021 19:58:28 +0200, Lars Ingebrigtsen <larsi@gnus.org> 
>>>>> said:


    Lars> Right...  So in emoji-sequences, we have

    Lars> 1F46E..1F4AC  ; Basic_Emoji                  ; police officer         
                                        # E0.6  [63] (๐Ÿ‘ฎ..๐Ÿ’ฌ)

    Lars> and then

    Lars> 1F46E 1F3FB   ; RGI_Emoji_Modifier_Sequence  ; police officer: light 
skin tone                                # E1.0   [1] (๐Ÿ‘ฎ๐Ÿป)
    Lars> 1F46E 1F3FC   ; RGI_Emoji_Modifier_Sequence  ; police officer: 
medium-light skin tone                         # E1.0   [1] (๐Ÿ‘ฎ๐Ÿผ)
    Lars> 1F46E 1F3FD   ; RGI_Emoji_Modifier_Sequence  ; police officer: medium 
skin tone                               # E1.0   [1] (๐Ÿ‘ฎ๐Ÿฝ)

    Lars> and then in the zwj file we have

    Lars> 1F46E 200D 2640 FE0F ; RGI_Emoji_ZWJ_Sequence ; woman police officer #
    Lars> E4.0 [1] (๐Ÿ‘ฎโ€โ™€๏ธ)
    Lars> 1F46E 200D 2642 FE0F ; RGI_Emoji_ZWJ_Sequence ; man police officer #
    Lars> E4.0 [1] (๐Ÿ‘ฎโ€โ™‚๏ธ)
    Lars> 1F46E 1F3FB 200D 2640 FE0F ; RGI_Emoji_ZWJ_Sequence ; woman police
    Lars> officer: light skin tone # E4.0 [1] (๐Ÿ‘ฎ๐Ÿปโ€โ™€๏ธ)
    Lars> 1F46E 1F3FB 200D 2642 FE0F ; RGI_Emoji_ZWJ_Sequence ; man police
    Lars> officer: light skin tone # E4.0 [1] (๐Ÿ‘ฎ๐Ÿปโ€โ™‚๏ธ)

    Lars> So that all matches up, and I can go from 1F46E and get all the
    Lars> variants.  Seems very promising; I'll give it a go.

    Lars> But...  I can't go from "woman police officer" to "woman police 
officer:
    Lars> light skin tone" by looking at the first code point.  Er...  what's 
the
    Lars> rule here, then?

    Lars> 1F46E plus 2640 as the next-to-last code point?

You could look at the second code point, which would be one of the
Emoji_Component ones (theyสผre in emoji-data.txt).

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]