xhtml validation. Encoding mismatch!

wxdqz

New Member
hi everyone.

I get the following warning of Encoding Mistmatch:

Character Encoding mismatch!

The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the XML declaration (utf-8). I will use the value from the HTTP header (iso-8859-1).
Although, in my opinion I specify the same encoding also in the htto header. Please, take a look. This is my header:
<?xml version="1.0" encoding="UTF-8"?>?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TITLE</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta http-equiv="author" content="AUTHOR" />
<meta name="description" content="DESCRIPTION" />
<meta name="keywords" content="KEYWORDS"/>
<meta name="Content-Language" content="en">
<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"/css/style1.css" />
<link rel="stylesheet" type="text/css" href="/css/style2.css" />
</head>

Thanks!
 
Back
Top