I have a text-only comment textbox (users can submit comments), and UTF8 emojis are accepted, such as "Hello ".
This is finally displayed in a <div class="comment">
, that already uses a Google Font (Barlow Semi Condensed).
How to make that the rendering of this emoji is consistent across the different browsers?
For example, (codepoint U+1F602) does not appear in color in Chrome for Windows (at least on certain versions), but only in black and white, whereas, it appears in yellow and blue colors in Firefox.
I thought that using font-awesome
would allow this, but instead font-awesome
requires that we use <i class="..."></i>
instead which is not possible since users will submit ordinary text, containg UTF8 emojis.