When I insert unicode emojis into a <span>
using standard jQuery they don't appear with Chrome (v48), but do with Firefox (v43) and Safari (v9). Compare these screenshots:
CHROME:
FIREFOX:
Any explanation here?
When I insert unicode emojis into a <span>
using standard jQuery they don't appear with Chrome (v48), but do with Firefox (v43) and Safari (v9). Compare these screenshots:
CHROME:
FIREFOX:
Any explanation here?
The solution was indeed the combination of all the answers above.
Without the <meta charset utf-8" />
, the emoji shows gibberish.
With font-weight: bold
, it shows nothing.
With font-weight: 600
it shows bold.
Thanks a lot for asking and answering.
The issue is that the span had
font-weight:bold
. As soon as I putfont-weight:normal
, the emojis appeared.