Forum Moderators: open
I just made one of my sites validate (finally!) but I still get the character encoding mismatch error... can you please help:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My title</title>
<META NAME="description" content="my description">
<META NAME="keywords" content="my keywords here">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/style.css">
thanks much!
:)
val
The easiest solution is to save all your pages as UTF-8 too, and delete the meta element from your pages.
Use WebBug to confirm the behaviour of the server.
AddDefaultCharset line in httpd.conf, or set it to iso-8859-1 or off. If you are on a shared server, contact your hosting company: this should not be set on a shared hosting setup. Finally, if you are using any server-side scripting (PHP, ASP), the UTF-8 header could have been set there.