[SOLVED] Emoji in html pages?


#1

Hey,

Nowadays is it ok/safe to add an emoji in an html page of a Ionic project?

Like going there https://emojipedia.org/grinning-face/

Copying the emoji and inserting it in an html page of a project like:

<span>πŸ˜€</span>

aka

<span><U+1F600></span>

What do you think about it, does that gonna work on both iOS and Android?


#2

Well I tested on my real iPhone 6 and Samsung Edge, the emoji were displayed, I guess it’s safe to use these codes


#3

they may not all work on all devices.

eg the basic thumbs up works on all device, but changing it to a different skin colour on some devices didn’t work


#4

thx for pointing that out.

In my case I use an emoji for a flag, should work