PDA

View Full Version : Weird W3C Validator Error


outscape
08-11-2010, 04:19 PM
I'm working through the W3C Validator to try and make my site work on other browsers, other than opera.
I have gotten it working fully on:
http://www.guildfreaks.com/Info/ (with just 1 error from the adds)
However, on the other pages when i run them through the validator i get this error:
'Sorry, I am unable to validate this document because on line 283 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.

The error was: utf8 "\x92" does not map to Unicode'
I dont even know where line 283 in my code is (the validator doesnt count php)
Link:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.guildfreaks.com%2Fgw2%2 F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&No200=1&verbose=1&st=1&user-agent=W3C_Validator%2F1.1

Ontop of that, when i use the CSS validator, i get this error:
Parse Error Lexical error at line 1, column 3. Encountered: "D" (68), after : "<!"
Any idea why thats happening?

If anyone knows how i can fix this, please tell me :)

outscape
08-11-2010, 07:06 PM
I fixed the first validator error, what i did was i opened it in notepad2, and changed the encoding of the document to unicode (file-encoding-unicode) and it seems to be working.

I still get Parse Error Lexical error at line 1, column 3. Encountered: "D" (68), after : "<!" though

mafiaworld
08-11-2010, 07:11 PM
Can I have a look at the CSS file you made? I might spot the error.

mrdavid
09-10-2010, 01:43 AM
We cannot fix something just by seeing an error. Please post a snippet of your code from line 1