@calvin They are technically the same codepoint, the second is just followed by the emoji variation selector. In this context, emoji means "the colour version". Other definitions are available.
@thias thanks for the explanation!
I see now, looking at the differennt emoji with skin colour variation, it is the same thing as the two comets. Cool!
I thought various different text incoding (which I know very little about) had specific byte-sizes per character. But I guess some sets of bytes modify the previous character.
@calvin like @thias said, the second one are “two code points in a trenchcoat”. Unicode specified a means of defining if a character should be shown as emoji or as b/w text by adding either U+FE0F or U+FE0E to it. That was to prevent double encoding of stuff that was both present in old “WingDings” like fonts and turn-of-the-century emojis.
\xEF\xB8\x8F is the UTF-8 encoding of the U+FE0F character.