Why is  appearing in my HTML?


I see this character in Firebug .

I don't know why this is happening, there's no such character in my code. For Firefox it's OK, but in IE everything breaks. I can't even search for this character in Google.

I saved my file with utf-8 encoding without bom.

enter image description here

This question is tagged with html

~ Asked on 2012-03-13 20:40:37

The Best Answer is


The character in question &#65279 is the Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF). It may be that you copied it into your code via a copy/paste without realizing it. The fact that it's not visible makes it hard to tell if you're using an editor that displays actual unicode characters.

One option is to open the file in a very basic text editor that doesn't understand unicode, or one that understands it but has the ability to display any non-ascii characters using their actual codes.

Once you locate it, you can delete the small block of text around it and retype that text manually.

~ Answered on 2012-03-13 20:45:34


Just use notepad ++ with encoding UTF-8 without BOM.

~ Answered on 2012-04-02 02:33:42

Most Viewed Questions: