W3C home > Mailing lists > Public > www-international@w3.org > January to March 2010

Re: For review: Character encodings in HTML and CSS

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Sat, 20 Feb 2010 02:33:48 +0100
To: Richard Ishida <ishida@w3.org>
Cc: www-international@w3.org
Message-ID: <20100220023348545996.c5915448@xn--mlform-iua.no>
Richard Ishida, Tue, 9 Feb 2010 13:20:29 -0000:
> See http://www.w3.org/International/tutorials/tutorial-char-enc/temp

]] On the other hand, you should be aware that this could cause 
rendering issues for at least some of your users when browsers treat 
the page as HTML. For example, it causes Internet Explorer 6 to render 
the page in quirks mode. [[

IE6 is the only user agent known to have trouble with the xml
declaration - is it not?. Hence I suggest to focus firmly on  
IE6 instead of blurring the picture by saying "for example IE6".
To say "for example IE6" hints that there are even more user 
agents that have trouble with this.

I've tested this myself, and in case the only whitespace character
between the "<?xml" start tag and the _first_ appearing attribute
of the XML declaration is a line break, like  this:

encoding="utf-8" version="1.0! ?>

then even IE7 and IE8 triggers quirksmode. However, I think that this 
small - a - quirk is not enough to in general warn against using the 
xml declaration together with IE7 and IE8.
leif halvard silli
Received on Saturday, 20 February 2010 01:34:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:31 UTC