8

In the extension popup HTML I have placed an emoji, like this:

<div> <input id="user_input" autofocus> </div

But when I open the extension popup, this shows up:

enter image description here

I'd really like to use emojis in the extension HTML document. I there a way to get around this issue?

Matic Jurglič
  • 831
  • 9
  • 26

2 Answers2

9

Adding

<meta charset='UTF-8' />

in <head></head> block fixed it for me.

Nokados
  • 191
  • 1
  • 5
3

Saving the file as UTF8 with BOM fixed it.

Matic Jurglič
  • 831
  • 9
  • 26