W3C home > Mailing lists > Public > www-validator@w3.org > October 2004

Re: charset

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Sun, 03 Oct 2004 15:20:36 +0200
To: www-validator@w3.org
Message-ID: <415FFCA4.24A@xyzzy.claranet.de>

Deon Meyer wrote:

> how should my charset look like and where should I put it in
> my code?

Your document is probably fine, verify this with the "upload
file" interface.  If that's valid your problem is your server,
it sends a Content-Type: text/xml (or similar) without charset.

You can test this with a header check like Delorie's

The server of my ISP sends Content-Type: text/html without a
charset.  This variant works with the validator, it then uses
the charset of <meta http-equiv="Content-Type"
                     content="text/html; charset=us-ascii" />

There's no <?xml version="1.0" encoding="us-ascii" ?> in my
XHTML 1.0 documents, let alone a conflicting encoding.

                     Bye, Frank
Received on Sunday, 3 October 2004 13:21:45 UTC

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