W3C home > Mailing lists > Public > www-validator@w3.org > September 2000

Re: Validation of XHTML 1.0 files erroneously says Unknown Encoding?!

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Tue, 05 Sep 2000 15:38:06 +0900
To: e.maryniak@pobox.com
Cc: www-validator@w3.org
Message-Id: <20000905153806C.mimasa@w3.mag.keio.ac.jp>
Eric Maryniak <e.maryniak@pobox.com> wrote:

> note the encoding ("UTF-8"). However, the validator still says:
>     Character encoding: unknown
> Is this correct?

Although it would be better to recognize the encoding declaration,
the "correct" way to specify the character encoding is to use
the charset parameter of the "Content-Type" HTTP response header.
Your page only sends "Content-Type: text/html".  If you add the correct
charset parameter, the validator does recognize the encoding.

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Tuesday, 5 September 2000 02:38:14 UTC

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