W3C home > Mailing lists > Public > www-validator@w3.org > December 2005

Re: Document without charset

From: David Dorward <david@dorward.me.uk>
Date: Fri, 9 Dec 2005 14:48:12 +0000
To: www-validator@w3.org, Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de>
Message-ID: <20051209144812.GB26287@us-lot.org>

On Fri, Dec 09, 2005 at 03:44:58PM +0100, Sierk Bornemann wrote:
> if you deliver your Document as HTML (text/html) and not  as 
> XML (e.g. application/xhtml+xml),
> you have to add a Meta information to your document, which holds the 
> encoding information, e.g.
> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>


* A really HTTP header is far, far better

* If you are serving as text/html then you must conform to Appendix C
  which mandates a space before the "/"

* Encoding a claim that an XHTML document is HTML inside the document
  itself strikes me as ... silly (and makes using XHTML even more

David Dorward                                      http://dorward.me.uk
Received on Friday, 9 December 2005 14:51:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:47 UTC