0

When I view a page in anything apart from IE8, it shows properly. When I view the source code (in IE8 only) it looks fine as below

working

However when I copy/paste it into http://jsbeautifier.org/ or notepad, it looks odd. In notepad, the first line is distorted and on JS Beautifier, there are 2 red circles.

broken broken

I'm using WordPress on Windows Server 2008 R2. As I said, the page works in everything apart from IE8. Any ideas?

Also adds something to the end

broken

pee2pee
  • 3,619
  • 7
  • 52
  • 133

1 Answers1

1

What you see is the UTF-BOM header. There you can also see that the three bytes from the comment is equal the utf-8 byte order mark header. Just remove them and everything should still work fine.

Just the bytes at the end are confusing me. They are if you quoted them correctly also a BOM header but this is wrong. Just remove those one too and you should be done.

rekire
  • 47,260
  • 30
  • 167
  • 264