Why don't UTF-8 emojis work?

  • Thread starter Thread starter jtbell
  • Start date Start date
jtbell
Staff Emeritus
Science Advisor
Homework Helper
2025 Award
Messages
16,027
Reaction score
7,857
Today I learned that I can paste emojis into my Web pages, because I overhauled them a few months ago to use the UTF-8 (Unicode) character set.

http://en.wikipedia.org/wiki/Emoji#In_the_Unicode_standard

I wonder if they work here, too:

Aw, I guess not. :H

Why not? pages here use UTF-8, too: <meta charset="utf-8" />

I see the emojis when I paste them into the editing window, but they don't appear on the page after it's posted.
 
Last edited:
Physics news on Phys.org
So the font used in the editing windows is different from the font used when displaying posts?

On my own pages, I don't do anything special at all as far as fonts are concerned. I don't specify the font for body text in my stylesheet, so it's whatever proportional font the browser (Firefox, Mac OS) is set to, which in my case is Times. In my stylesheet I specify h1 and h2 headings to use a sans-serif font, which is set to Helvetica. Emojis work in either body text or headings, and in Firefox's title bar (<title> tag).

I tried changing the default font to a few different settings, and the emojis on my test page still appear. I don't have any of the fonts listed in the table that you link to. There must be something going on behind the scenes somewhere.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
1K
Replies
50
Views
4K
  • Sticky
  • · Replies 0 ·
Replies
0
Views
4K