HTML Validator is giving me an error

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Mar 3rd, 2008, 19:19
New Member
Join Date: Feb 2008
Location: Dublin
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question HTML Validator is giving me an error

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.
Attached Files
File Type: html file.html (12.6 KB, 6 views)
File Type: css CA1.css (2.7 KB, 2 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 3rd, 2008, 19:44
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML Validator is giving me an error

Was this written in notepad.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 3rd, 2008, 19:53
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HTML Validator is giving me an error

Try this copy of your html file.
Attached Files
File Type: html file.html (12.8 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 3rd, 2008, 22:38
Ed Ed is offline
Moderator
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 726
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Mar 4th, 2008, 14:04
New Member
Join Date: Feb 2008
Location: Dublin
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Mar 4th, 2008, 17:59
Ed Ed is offline
Moderator
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 726
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Mar 4th, 2008, 18:48
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 04:08.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42