Emoji displayed as monochrome symbol? 🤔 The Unicode variation selector
November 19, 2021
Are you wondering why some specific emoji are sometimes displayed as black and white symbols instead of a colored glyph? And even more confusing, you notice it happens on one device but looks perfect on another? Look no further, you’ll find all the answers in this article!
Some symbols can be displayed either as text (black and white glyph) or as a color emoji. Using Unicode variation selectors, we can hint at whether to use one or the other, but when no variation selector is specified, it’s up to the system to decide which one to pick, introducing inconsistencies.
Most emoji pickers will include the emoji variation selector to symbols that would otherwise be ambiguous, but others won’t and that’s probably how you ended up here.
If you want to make sure your emoji are always displayed in their color version, the default macOS emoji picker does just that, otherwise copy/pasting from Emojipedia also works, as they both don’t leave room for ambiguity.
For a while I just fixed them by inserting them again from another device, or copy/pasting them from Emojipedia, but I eventually got tired of this and decided to understand why this was happening in the first place.
When VS15 is appended to a symbol, it forces it to be displayed as text (black and white glyph). Contrarily, when VS16 is appended, it forces the color version to be displayed (emoji).
Now here’s the fun part. What happens when a symbol has both a text and a color variant, and no variant selector is specified? According to Wikipedia, the emoji variant is selected:
If there is no variation selector appended, the default is the emoji-style.
But in reality, it appears that macOS and Android will in fact default to the text symbol if there’s one available! So should we just append the VS16 code point on every single emoji? From its Emojipedia page:
[VS16 is] an invisible code point which specifies that the preceding character should be displayed with emoji presentation. Only required if the preceding character defaults to text presentation.
Alright. But we just saw that this is system-specific. Still, how do we know which character can default to a text presentation? An interesting hint is in the unicode.org FAQ.
What variation sequences are valid?
Here, we specifically care about
the other sources not being related emoji. This file lists all the
symbols that have both a monochrome glyph and a color emoji available.
It’s only for those symbols that we need to append the VS16 code point to make sure that they’re displayed consistently on every system. And it looks like that’s precisely what the macOS and Android emoji pickers seem to be doing!
Let’s look at a few concrete examples to highlight the inconsistencies.
|Unicode code points||Command||Result|
Or put another way:
Your mileage may vary, but when I compare that table on my different devices, while they all display the emoji variant properly, there’s a few inconsistencies for the default (no variant) and explicit text variant.
While the font on my Linux machine doesn’t have a text representation of the blush emoji, it does for all the other ones. Regardless, when no variant is specified, it always shows an emoji.
On the other hand, macOS and Android always default to the text variant, but they appear to not have one available for the blush and neutral face emoji.
Note: those results are the ones I observed, but you might see something different on your side! I’ve got a report from someone also on a fresh macOS Monterey who gets different results from me, with the frowning face showing as text even when explicitly requested as emoji, and only for this site! And their default writing hand is an emoji even though the text one is supported.
This might be due to differences in rendering betweem Chrome and Firefox, so know that the browser can also affect this kind of things.
Let me know if you observe something even different, I’m curious! 😁
In today’s article, we looked more closely at the Unicode standard and the emoji specification to understand how to deal with symbols that have both a text and emoji style available. We learnt about the VS15 and VS16 code points to select a specific variant, instead of leaving it for the system to decide. Finally, we found out what symbols need an explicit variant to be specified in order to avoid being rendered inconsistently.
I hope you now have everything you need to understand why you might be noticing those inconsistencies, and how to fix them. Cheers! ✌️