W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] ISO-8859-1 Control Characters

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 26 Feb 2007 16:35:41 +1100
Message-ID: <45E271AD.4030507@lachy.id.au>
Hi,
   Given that the spec now says that ISO-8859-1 must be treated as 
Windows-1252, should it still be considered an error to use the C1 
control characters (U+0080 to U+009F) if ISO-8859-1 is declared?

Some relevant messages from IRC:

[15:59]	<Lachy>	since the spec says if ISO-8859-1 is declared, 
Windows-1252 must be used. Is it still an error for authors to use the 
C1 control characters in the range 128-159?
[16:23]	<Hixie>	Lachy: not sure what we should do, there's a bunch of 
corner cases there. like, should we allow control chars anyway, should 
we allow ISO-8859-1 to be declared but Win1252 to be used, etc.
[16:23]	<Hixie>	Lachy: can you mail the list with suggestions and a list 
of the cases you can think of that we should cover?
[16:27]	<Hixie>	interesting. the list got its first explicit request for 
us to _not_ remove the significant inline content rule
[16:27]	<Lachy>	I'm having a hard time deciding if it should be allowed 
or not
[16:28]	<Lachy>	Technically, it is an error and I think users should be 
notified, but it's practically harmless these days and very common.
[16:30]	<Lachy>	Yet, doing the same thing in XML doesn't work, since XML 
parsers do treat them as control characters

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Sunday, 25 February 2007 21:35:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC