Re: Bug in encoding detection XHTML 1.0

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 UTC