Web Analytics Made Easy -
StatCounter w3 validator on line - CodingForum

Announcement

Collapse
No announcement yet.

w3 validator on line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • w3 validator on line

    what is wrong with this xhtml head ?
    if I use the w3 validator on line the file is ok but
    I get this

    Warning: Character Encoding mismatch! The character encoding specified in the HTTP header («utf-8») is different from the one specified in the META element («iso-8859-1»). I will use «utf-8» for this validation.


    and I have no utf-8 nowhere
    ----------------------------------------------------------------------------------------

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
    <head>
    <title>any</title>
    <meta name="keywords" content="one, two"></meta>
    <meta name="description" content="any"></meta>
    <meta name="robots" content="index,follow"></meta>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
    <meta name="imagetoolbar" content="yes"></meta>
    <link href="Styles/any.css" rel="stylesheet" type="text/css"></link>
    </head>

    ----------------------------------------------------------------------------------------

  • #2
    encoding for accents

    or what is the best encoding for accents ل è ect...

    Comment


    • #3
      I think(?) it is telling you that your server has served up the document with UTF-8 in the http header. If the validation runs OK I don't think you need to worry about it.

      patrick

      Comment


      • #4
        ok

        thank you then.... but this encoding is allways a hard fight for nothing

        Comment

        Working...
        X