W3C home > Mailing lists > Public > www-validator@w3.org > June 2007

Re: Problems with offline validator

From: Andreas Prilop <AndreasPrilop2007@trashmail.net>
Date: Tue, 26 Jun 2007 17:40:10 +0200 (MEST)
To: www-validator@w3.org
cc: romanreibnagel@kfs.at
Message-ID: <Pine.GSO.4.63.0706261729270.14909@s5b004.rrzn.uni-hannover.de>

On Mon, 25 Jun 2007, <romanreibnagel@kfs.at> wrote:

> Charset definition in the html document looks like:
> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>

"Meta http-equiv" is only a fake. You cannot set the Content-Type
in a Meta fake:
http://www.unics.uni-hannover.de/nhtcapri/meta-http-equiv.1
http://www.unics.uni-hannover.de/nhtcapri/meta-http-equiv.2

Define the encoding (charset) in the HTTP header.
With Apache server, you can write into your .htaccess file:

   AddDefaultCharset  iso-8859-1
   AddCharset         iso-8859-1   html

http://httpd.apache.org/docs/1.3/mod/mod_mime.html
http://www.w3.org/International/O-HTTP-charset

-- 
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell
Received on Tuesday, 26 June 2007 15:41:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:24 GMT