XHTML and UTF-8 Re: The Return of "WaSP Asks the W3C"

Le lundi, 22 sep 2003, à 09:07 America/Montreal, Jim Ley a écrit :
>> **  There is one tweak I have to make.  If I want my pages to trigger
>> standards-compliant mode in IE I have to remove the xml declaration
>> before posting.
>
> I don't particularly understand this, as Appendix C clearly says that 
> you
> shouldn't include an xml declaration in any case "Be aware that 
> processing
> instructions are rendered on some user agents" (due to a great many 
> browsers
> actually rendering it, quite apart from those that change rendering 
> modes
> based on it)

If you encode your file in utf-8, you don't need the XML declaration, 
your document will be correctly rendered, and it will be XML.


--
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***

Received on Monday, 22 September 2003 12:30:24 UTC