Unicode Symbol Become Emoji
Some unicode symbols, now becomes emoji, which makes many math symbols such as ↔ not usable.
This is annoying.
When is Text, When is Emoji?
By Unicode's spec:
- Some characters have both emoji and textual presentation.
- Some characters have only emoji presentation.
- Some characters have only textual presentation.
For those that have both emoji and textual presentation, Unicode specifies which one should be default.
A “Variation Selector” can be used to chose a presentation.
Browser or application do not necessarily respect the variation selector. For example, twitter renders vast majority of emoji as emoji, and ignores the variation selector.
There's no programable way to tell which character have both emoji and or text presentation.
Unicode Variation Selector
- Variation Selectors is used to indicate a desired presentation.
- Variation Selectors are invisible characters.
- A Variation Selector is placed immediately after another character, to change its rendering.
- There are 16 Variation Selectors, from code point U+FE00 to U+FE0F. They are abbreviated as VS1 to VS16.
Variation Selector 15 and 16 are used to indicate text rendering or emoji rendering, for those character that have both presentation.
- “U+FE0E: VARIATION SELECTOR-15” → indicator for text rendering.
- “U+FE0F: VARIATION SELECTOR-16” → indicator for emoji rendering.
Here's 2 characters with both emoji and text presentation.
|name||No VS||with VS15||with VS16|
|U+26BD: SOCCER BALL||⚽||⚽︎|
|U+2122: TRADE MARK SIGN||™||™️|
Here's a correct browser rendering:
Which Characters Can Become Emoji?
This table shows all character that have emoji and or text presentation.
[Text vs Emoji, v11.0 By Unicode Consortium. At http://unicode.org/emoji/charts/text-style.html ]
It's not well written. Very confusing.
Here's what the column means:
- “+EP -EPSq” → emoji only. e.g. 😂 (U+1F602: FACE WITH TEARS OF JOY)
- “+EP +EPSq” → both. default emoji. e.g. ⚽ (U+26BD: SOCCER BALL)
- “-EP +EPSq” → both. default text. e.g. ™ (U+2122: TRADE MARK SIGN)
- “-EP -EPSq” → always text. e.g. A
See also: Emoji Politics
2018-06-19 thanks to https://twitter.com/FakeUnicode/status/766873680366280705
If you have a question, put $5 at patreon and message me.