[html5] r1264 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 27 13:01:14 PST 2008


Author: ianh
Date: 2008-02-27 13:01:10 -0800 (Wed, 27 Feb 2008)
New Revision: 1264

Modified:
   index
   source
Log:
[c] (1) Make using a Win1252-specific byte when the document declared as ISO-8859-1 be a parse error.

Modified: index
===================================================================
--- index	2008-02-27 20:43:37 UTC (rev 1263)
+++ index	2008-02-27 21:01:10 UTC (rev 1264)
@@ -38399,10 +38399,14 @@
    href="#refsIANACHARSET">[IANACHARSET]</a>
 
   <p>When a user agent would otherwise use the ISO-8859-1 encoding, it must
-   instead use the Windows-1252 encoding.
+   instead use the Windows-1252 encoding, except that any bytes in the range
+   0x80 to 0x9F must, in addition to being interpreted as per the
+   Windows-1252 encoding, be considered <a href="#parse0" title="parse
+   error">parse errors</a>.
 
-  <p class=note>This requirement is a willful violation of the W3C Character
-   Model specification. <a href="#refsCHARMOD">[CHARMOD]</a>
+  <p class=note>The requirement to treat ISO-8859-1 as Windows-1252 is a
+   willful violation of the W3C Character Model specification. <a
+   href="#refsCHARMOD">[CHARMOD]</a>
 
   <p>User agents must not support the CESU-8, UTF-7, BOCU-1 and SCSU
    encodings. <a href="#refsCESU8">[CESU8]</a> <a href="#refsUTF7">[UTF7]</a>

Modified: source
===================================================================
--- source	2008-02-27 20:43:37 UTC (rev 1263)
+++ source	2008-02-27 21:01:10 UTC (rev 1264)
@@ -35965,10 +35965,13 @@
   href="#refsIANACHARSET">[IANACHARSET]</a></p>
 
   <p>When a user agent would otherwise use the ISO-8859-1 encoding, it
-  must instead use the Windows-1252 encoding.</p>
+  must instead use the Windows-1252 encoding, except that any bytes in
+  the range 0x80 to 0x9F must, in addition to being interpreted as per
+  the Windows-1252 encoding, be considered <span title="parse
+  error">parse errors</span>.</p>
 
-  <p class="note">This requirement is a willful violation of the W3C
-  Character Model specification. <a
+  <p class="note">The requirement to treat ISO-8859-1 as Windows-1252
+  is a willful violation of the W3C Character Model specification. <a
   href="#refsCHARMOD">[CHARMOD]</a></p>
 
   <p>User agents must not support the CESU-8, UTF-7, BOCU-1 and SCSU




More information about the Commit-Watchers mailing list