Validation of XHTML 1.0 files erroneously says Unknown Encoding?!

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 UTC