Tuesday, June 30, 2009

Character Encoding mismatch with (iso-8859-1) for (utf-8) !

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

Resolution:

Add the following line to the .htaccess file of the website.

AddDefaultCharset utf-8

Save the file.

Reload Apache.

Done.

1 comment: