RE: For review: Character encodings in HTML and CSS

Richard Ishida, Mon, 22 Feb 2010 15:37:00 -0000:
>> From: Leif Halvard Silli [mailto:xn--mlform-iua@målform.no]

>> To say "for example IE6" hints that there are even more user
>> agents that have trouble with this.
> 
> See http://www.w3.org/TR/xhtml1/#C_1


So let's check the spec from year 2000 says ... Firstly, with regard to 
the quirks-mode problem, then appendix C does not mentioned it at all, 
as far as I can tell ... As for the two problems that it describes:

]] C.1. Processing Instructions and the XML Declaration
   Be aware that processing instructions are rendered on some user 
agents. [[

Unless you put challenge them, by placing e.g. a ">" inside the 
processing instruction, then I am not aware of any such user agents. 
HTML5 is also relevant in this regard: It requires user agents to not 
render processing instructions. And HTML5 tries to be quite accurate 
w.r.t. who UAs actually behave.

]] Also, some user agents interpret the XML declaration to mean that 
the document is unrecognized XML rather than HTML, and therefore may 
not render the document as expected. [[

Hardly relevant anymore.  

Webstandards.org [1] investigated the above two issues back then and 
found that IE3, IE4 (Mac), IE4.5 (Mac), Netscape 1 to 4.01, had 
problems. These are not relevant user agents today.

[1] http://www.webstandards.org/learn/articles/prolog_problems/


>> <?xml
>> encoding="utf-8" version="1.0! ?>
> 
> Did you have an exclamation mark in your tests?

That was only a typo in my e-mail.
-- 
leif halvard silli

Received on Monday, 22 February 2010 16:34:13 UTC