1

jQuery parses some html in my iframe app on Facebook, and when it does, I get tons of these characters:

​ ​​​​​​​​​​​​​

Please see screenshot for more info. Does anyone know why this occurring! and how to fix it?

screenshot showing problem - note how it is randomly inserted into inline css too

Andrew Samuelsen
  • 5,325
  • 9
  • 47
  • 69

1 Answers1

6

It's an encoding issue, probably. You'll probably want to define the charset. Like this:

<meta charset="UTF-8">
Phillip Schmidt
  • 8,805
  • 3
  • 43
  • 67
  • I also found it could be down to the file itself, or the text/characters within the file. My solution was to copy the code block by block into a fresh new file. Try doing Plain Text copy (Or use Terminal/Notepad) to be on the safe side. The issue then disappeared for me. My related issue: http://stackoverflow.com/questions/31427080/why-is-%C3%A2%E2%82%AC-or-8203-being-inserted-into-my-html-body-randomly – redfox05 Jul 15 '15 at 15:06