W3C home > Mailing lists > Public > www-validator@w3.org > November 2003

Re: Bug in encoding detection XHTML 1.0

From: Nick Kew <nick@webthing.com>
Date: Wed, 5 Nov 2003 14:17:45 +0000 (GMT)
To: Reuben Chew <furrypandy@pacific.net.sg>
Cc: <www-validator@w3.org>
Message-ID: <20031105141402.Y1059-100000@fenris.webthing.com>


On Wed, 5 Nov 2003, Reuben Chew wrote:

> when I use the <?xml version="1.0" encoding="iso-8859-1"?> for example,
  when I use Alt+0169 instead of &copy;, it says that there's an
  unidentifed code, and says that it is using us-ascii. But when I use
  META, it valids fine. What's wrong?

At a guess that's a file upload?

At a guess, the <?xml ...> line causes your browser to send the file
as "text/xml", which means we have to apply XML rules.  And also at a
guess, without the <?xml ...> it gets sent as text/html, so
HTML rules apply.

It would save a lot of guessing if you told us the problem.

-- 
Nick Kew
Received on Wednesday, 5 November 2003 09:20:38 GMT

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