Character Encoding Mismatch

openmind's picture

He has: 945 posts

Joined: Aug 2001

Can somone put me right here. When you validate the index page of my upcoming new site, simplycfhost.com/om it validates like this .

XCan someone point out to me where the Character Mismatch malarkey is coming from? Smiling

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Dude, I'm getting 100% valid?

openmind's picture

He has: 945 posts

Joined: Aug 2001

Yeh it is 100% valid but just unbder the tick boxes for Revalidate with options it says:

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

Now it might be me being picky Wink but I don't want ANY errors even if it validates so I'd like to get rid of this one too...

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

It shouldn't be a problem since the should override what the server sends. I think. (Might be the other way round, have to check on that.)

Something on your server side is sending a header saying the character encoding is UTF-8. This could be a server default (look in your configuration), or could be some part of your server-side script doing it, or it could be that you're not setting it in the script so the server forces a default.

I personally use UTF-8 anyway, so would change the to suit. Smiling

openmind's picture

He has: 945 posts

Joined: Aug 2001

So what should I change the tag to? At the moment it is

Thanks...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.