Thread: w3c validation

Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default w3c validation

    I try to validate my site and I get this message in w3c validation:

    Sorry, I am unable to validate this document because on line 146 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 "\xE7" does not map to Unicode

    see : www.afro-masks.com

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,704
    Plugin Contributions
    11

    Default Re: w3c validation

    use firefox with the html validator add-on and you will be able to see more information. Those are the languages errors I mentioned in your other post.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: w3c validation

    now ,the firefox validator says:

    Sorry, I am unable to validate this document because on line 171 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 "\xE7" does not map to Unicode

    line 171 of my index page's html says:

    <div id="languagesContent" class="sideBoxContent centeredContent"><a href="http://www.afro-masks.com/index.php?main_page=index&amp;language=nl"><img src="includes/languages/dutch/images/icon.gif" alt="Nederlands" title=" Nederlands " width="24" height="16" /></a>&nbsp;&nbsp;<a href="http://www.afro-masks.com/index.php?main_page=index&amp;language=fr"><img src="includes/languages/french/images/icon.gif" alt="fran��ais" title=" fran�ais " width="24" height="16" /></a>&nbsp;&nbsp;<a href="http://www.afro-masks.com/index.php?main_page=index&amp;language=en"><img src="includes/languages/english/images/icon.gif" alt="English" title=" English " width="24" height="16" /></a>&nbsp;&nbsp;<br /></div></div>

    you can see that there's a letter missing in franais(français)
    because that character is not supported
    in place it places a small rectangle form with "FFD" in it.

    How can I replace it?

    If that's is the problem??...

  4. #4
    Join Date
    Nov 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: w3c validation

    Sorry for the delay of the answer, but until now had not come into this forum.
    You're right lieven23, the problem is the character 'ç' UTF-8 does not interpret.
    The solution is simple, edit the file changing the character 'ç' for any other.
    I think it is better to have a spelling mistake but the w3c validator validate the code, isn't ?
    Greetings from Catalonia.

  5. #5
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: w3c validation

    I think it is better to have a spelling mistake but the w3c validator validate the code, isn't ?
    Unless I'm totally ignorant, why is it so important that the w3c validator validates the code? Mine doesn't validate for things like "border-radius", "cursor:hand" etc but what's the big deal about it?

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: w3c validation

    Many use the W3C Validator as the W3C makes the Validation Standards. Also, it is easy for a Client to use their URL and get information on whether the coder -- they may have paid good money to -- knew what they were doing.

    Validation is important for lots of reasons:

    - as a coder it shows you know what you are doing
    - as a coder it makes it easier to find mistakes
    - as a client they know they got good results, if they paid someon for coding

    If we use your site as a Validation example, it's a good thing you don't care about Validation but I hope you didn't pay someone for coding.

    athenscollectibles .com shows 237 Errors which for a Professional Coder would be acceptable; and should be unacceptable to their Clients as well.


    For example.

    <div class="wdk_sidecolumn-type-basic" style="width:140px; overflow-x: hidden;">
    <p><div align="center"> << you cannot have a 'div' within a 'p' tag
    <center> << this tag was dropped about 8 yrs. ago and should not be used

    Mind you, if a person does their own coding then they can go by their own Standards. For Professional Coders charging people money for work done, it is a whole 'nother ballgame.

 

 

Similar Threads

  1. W3C validation problem
    By wilson_li in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Aug 2011, 09:01 PM
  2. W3C validation problem
    By wilson_li in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 10 Aug 2011, 12:40 AM
  3. W3C Validation Problems
    By robbie269 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Jun 2011, 12:19 AM
  4. W3C validation
    By slater555 in forum General Questions
    Replies: 1
    Last Post: 2 May 2011, 12:47 AM
  5. W3C Validation
    By fantasticals in forum General Questions
    Replies: 4
    Last Post: 18 Apr 2008, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg