This is a discussion on "HTML Validator is giving me an error" within the Web Page Design section. This forum, and the thread "HTML Validator is giving me an error are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
HTML Validator is giving me an error
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi
I'm trying to validate a HTML file using the validator and it is giving me the following error message: "Sorry, I am unable to validate this document because on line 200 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've attached the html file. Any help would be great. Thanks. |
|
|
|
|||
|
Re: HTML Validator is giving me an error
Was this written in notepad.
|
|
|||
|
Re: HTML Validator is giving me an error
Try this copy of your html file.
|
|
|||
|
Re: HTML Validator is giving me an error
You got this error because somewhere in your code there is (or there are) a funny looking character.
You have set your character encoding to UTF-8, which is basically a set of characters like letters and symbols. In your file, there are some characters that are not part of this set, and you need to remove them. Hope this helps, Ed
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
|
|
|||
|
Re: HTML Validator is giving me an error
Thanks dab42Pat. The file can now be validated...just wondering what change you made to the file?
Thanks. |
|
|||
|
Re: HTML Validator is giving me an error
The whole idea of WebForumz is that you learn, and not get others to do it for you! That completely defeats the purpose, as if a similar problem arises, you won't have a clue how to do it.
dab42pat, It would be great if you could explain rather than just do it for people. tupulo, I have explained what the problem is. Just go to line 200 of your file and look for a funny character. Thanks, Ed
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
|
|
|||
|
Re: HTML Validator is giving me an error
Hi Edd
Sorry doing it again. But in this case I didnt actually do anything. whatever format attachments are saved as on this forum had actually cured Tupolo's problem. If you open up Tupolos original attachment you can validate it as the error has already gone. Why this happens, I can only guess that the original code was written in a text editor and saved in the wrong format producing invalid characters. I will try to explain better in the future. Pat |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 1 html error | saltedm8 | Web Page Design | 9 | Aug 4th, 2006 13:05 |
| Error in html | jonbenitos | Web Page Design | 2 | Jul 23rd, 2006 20:18 |
| Working fine but giving error | clickme_not | JavaScript Forum | 3 | Apr 28th, 2006 18:36 |
| HTML validation error please help | bean_2k1 | Web Page Design | 4 | Feb 8th, 2006 12:19 |