Unicode: Emoji vs Text

By Xah Lee. Date: . Last updated: .

Unicode character become emoji?

Some unicode symbols, now become emoji, which makes many math symbols not usable.

for example:

symbol vs emoji problem 2016
symbol vs emoji problem

your browser shows:


unicode left right arrow becomes pictograph problem
Unicode (U+2194: LEFT RIGHT ARROW) becomes an emoji. But (U+21D4: LEFT RIGHT DOUBLE ARROW) remains text.

This is annoying.

When is a Unicode Character Rendered as Text or Emoji?

By Unicode's spec:

A Unicode: Variation Selector can be used to chose a presentation.

“Variation Selector” is a invisible character. It indicates a rendering preference for the character before it.

Unicode character in Browser

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. (as of 2018-06-12)

Font Influence

If the app has an associated font with text, the font most likely determine if a character is represented as text or emoji.

Determine Text/Emoji Presentation of a Character

There's no programable way to tell which character have both emoji and or text presentation.

Unicode Variation Selector

Unicode Variation Selector Usually Has No Effect

Here is some characters with both emoji and text presentation.

unicode emoji vs text win10 firefox 2021-12-25
Windows 10, Firefox 94.0.1, 2021-12-25.
unicode emoji vs text mac safari 2021-12-25
MacOS, Safari 2021-12-25.
unicode emoji vs text win10 chrome 2021-12-25
Windows 10, Google Chrome, 2021-12-25

Here's what your browser shows:

IDname No VS with VS15 with VS16Can be Emoji or Text, Unicode Spec Default
U+26BDSOCCER BALL ⚽︎ ⚽️Emoji
U+2194LEFT RIGHT ARROW ↔︎ ↔️Emoji
U+2122TRADE MARK SIGN ™︎ ™️Text
U+1F441EYE👁 👁︎ 👁️Text

Practical Solution

In practice

Which Characters Can Become Emoji

Unicode. Emoji vs Text