Page 1 of 1
Character encoding sent from server...
Posted: Tue Oct 31, 2006 4:26 pm
by Luke
When i validate my page, I get this error:
W3C Validator wrote:Character Encoding mismatch!
The character encoding specified in the HTTP header ( utf-8 ) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header ( utf-8 ) for this validation.
Why is the http header sending utf-8? I imagine I could change this?
Posted: Tue Oct 31, 2006 6:49 pm
by Luke
Actually... (hope this isn't considered a bump as it's an entirely different question)
What are the possible implications of setting the character set as utf-8? Is there any reason why I shouldn't?
Posted: Wed Nov 01, 2006 3:41 am
by volka
take a look at
http://de2.php.net/ini.core#ini.default-charset and
http://de2.php.net/ini.core#ini.default-mimetype
The Ninja Space Goat wrote:What are the possible implications of setting the character set as utf-8? Is there any reason why I shouldn't?
If your document
is utf-8 then there's no problem

Posted: Wed Nov 01, 2006 3:57 am
by choppsta
If you're using Apache you can use the following in your httpd.conf or an .htaccess file.
or
To be honest i've got pretty confused by encodings myself. I did play around with:
http://uk2.php.net/manual/en/function.m ... coding.php and related functions but I didn't really fully understand it.
Posted: Wed Nov 01, 2006 5:33 am
by Luke
Well, I intend to do some research on it tomorrow, but in the meantime, if anybody has any reason why I should or should not use utf-8, let me know.
Posted: Fri Nov 17, 2006 11:32 am
by Luke
Anybody? I'm just wondering if there is any danger or insecurities or any sort of problem at all with me setting utf-8