Re: encoding versus php, encoding parse error

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 UTC