RE: For review: Character encodings in HTML and CSS

> From: Leif Halvard Silli [mailto:xn--mlform-iua@målform.no]
> Sent: 20 February 2010 01:34
> To: Richard Ishida
> Cc: www-international@w3.org
> Subject: Re: For review: Character encodings in HTML and CSS
> 
> 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.

See http://www.w3.org/TR/xhtml1/#C_1


> 
> 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:
> 
> <?xml
> encoding="utf-8" version="1.0! ?>

Did you have an exclamation mark in your tests?

RI
> 
> 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
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.730 / Virus Database: 271.1.1/2697 - Release Date: 02/19/10
> 07:34:00

Received on Monday, 22 February 2010 15:37:33 UTC