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

Re: encoding versus php, encoding parse error

From: Dmitri Klimenko <dg@humorist.ru>
Date: Wed, 17 Oct 2001 14:14:25 -0400
Message-ID: <001c01c15737$8e26f4a0$255dd1d8@CR194084C>
To: "Jan Kolar" <kolar@karlin.mff.cuni.cz>
Cc: <www-validator@w3.org>
Well, AFAIK, the <meta ..> tag is case-insensitive, and in most cases, it's
lower-case.
[1] validates just fine, and so does your page with only <DOCTYPE..>
corrected. See for yourself!
Hope that helps,
    Dmitri

----- Original Message -----
From: "Jan Kolar" <kolar@karlin.mff.cuni.cz>
To: "Dmitri Klimenko" <dg@ndg.ru>
Sent: Wednesday, October 17, 2001 1:34 PM
Subject: encoding parse error (Was: encoding versus php)


>
>  You were almost right,
>  the problem were lower case letters.
>
>  However, not in DOCTYPE line, but in the line
>  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>  wich I copied EXACTLY from [1]
>  I sugest that
>  1) the examples on [1]
>     be corrected to the right case
>  2) the parser of validator should write complaints about the case,
>
>   instead of
> "
> Sorry! A fatal error occurred when attempting to transcode the character
> encoding of the document. Either we do not support this character encoding
> yet, or you have specified a non-existent character encoding (often a mis-
> spelling).
>
> The detected character encoding was "http".  (Note: sometimes writes
"detect")
>
> The error was "".
> "
>
> Could you forward the message to the maling list?
>
> Thank you very much
>
> Jan Kolar
>
> Dmitri Klimenko wrote:
> > The problem is simple - that DOCTYPE line is case-sensitive. it should
be
> > <!DOCTYPE HTML ...>
> > It has nothing to do with php, and if you correct that, it'll validate
> > Regards,
> >     Dmitri
> >
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> > > <!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> -->
> > > <html>
> > > <HEAD>
> > > ...

[1]  http://www.w3.org/International/O-charset.html
Received on Wednesday, 17 October 2001 14:15:06 GMT

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