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

Validation of XHTML 1.0 files erroneously says Unknown Encoding?!

From: Eric Maryniak <e.maryniak@pobox.com>
Date: Mon, 4 Sep 2000 20:38:21 -0400 (EDT)
To: www-validator@w3.org
Message-ID: <20000905023810.A1788@isaac.xs4all.nl>
Hello W3C validator maintainer,

I have a document that validates as XHTML 1.0,

    http://validator.w3.org/check?uri=http://pobox.com/~e.maryniak/index.xhtml.html;weblint;pw;ss

the first lines being:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html
         PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "DTD/xhtml1-transitional.dtd">
 
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    ...

note the encoding ("UTF-8"). However, the validator still says:

    Character encoding: unknown

Is this correct?
Imho, it would be superfluous (if not incorrect!) to add the encoding
in the <head> section like:

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

(and is "charset" exactly the same as "encoding"?!).

Kind regards,

Eric Maryniak
--
Eric Maryniak <e.maryniak@pobox.com>
Home page: http://pobox.com/~e.maryniak/
University of Amsterdam, Department of Psychology.
Tel/Fax: +31 20 5256853/6391656. Internet: http://www.neuromod.org/
 
You know you've watched too much Star Trek when:
 
  You're indignant because the periodic table doesn't include
  dilithium and tritanium.
Received on Tuesday, 5 September 2000 01:45:25 GMT

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