emacs-devel
[Top][All Lists]
Advanced

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

Re: Entering emojis


From: Lars Ingebrigtsen
Subject: Re: Entering emojis
Date: Tue, 26 Oct 2021 19:58:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

> If you want them to display correctly in Emacs youสผre going to have to
> use the sequences in emoji-zwj-sequences.txt and emoji-sequences.txt

I'm using the labels file, because it had better taxonomy...

> The field in emoji-zwj-sequences.txt is called 'descriptions', and I
> think theyสผre not intended to be normative in any way, so probably
> best to use the base codepoint.

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

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

and then

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

and then in the zwj file we have

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

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

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

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

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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