I have a file that is UTF-8 BOM encoded. It has one character x9F (DEC 159) which is the ‘Ÿ’ character. IE and Firefox both fail to parse this file. The encoding element is encoding=”UTF-8″. I read that some older browsers refuse to display x80 – x9F, but that is specific to HTML. Any idea why IE and FF are tripping on this?
Share
ASCII characters are all below 128. Latin-1 has control codes, not characters at x80 – x9F, and likewise Unicode has control codes at code points U+0080 through U+009F. If you have the character U+009F in your text, that’s wrong; it should be U+0178, Ÿ ; . If you have the single byte x9F in your file, that’s doubly wrong; characters larger than 127 must be encoded in UTF-8 to work.