• If I use the Firefox dev bar, and validate my page, I see this:
    “Encoding: iso-8859-1”
    If I click the ‘Valid XHTML’ link on my page, I see this:
    “Character Encoding mismatch!
    The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element (utf-8). I will use the value from the HTTP header (iso-8859-1) for this validation.”
    On Options>Reading, I have UTF-8 specified.
    If I View Source, I see only this:
    “text/html; charset=UTF-8”
    1.2Mingus
    It’s probably a complete non-issue, but why the difference ?
    Curiosity …..

Viewing 2 replies - 1 through 2 (of 2 total)
  • Due to extreme laziness I put the following lines in the .htaccess file:
    AddDefaultCharset UTF-8
    php_value default_charset UTF-8

    I prefer to let the server tell the files what they are, but using Meta info does make the page more portable.
    Not sure why your meta tag is being ignored but you could try setting the encoding as above and see what happens.

    Thread Starter Mark (podz)

    (@podz)

    Many thanks !
    I changed the htaccess, it chucked a new validation error at me, but now all is well ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Curious: Encoding issue’ is closed to new replies.