[html5] r2812 - [cgiowt] (2) Trade willful violation of ECMAScript for unintentional violation o [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Feb 12 19:21:26 PST 2009


Author: ianh
Date: 2009-02-12 19:21:25 -0800 (Thu, 12 Feb 2009)
New Revision: 2812

Modified:
   index
   source
Log:
[cgiowt] (2) Trade willful violation of ECMAScript for unintentional violation of Unicode - update the character encoding alias rules.

Modified: index
===================================================================
--- index	2009-02-13 03:16:29 UTC (rev 2811)
+++ index	2009-02-13 03:21:25 UTC (rev 2812)
@@ -37697,6 +37697,9 @@
     <code><a href=#window>Window</a></code> object will be set to the <a href="#script's-browsing-context">script's
     browsing context</a>'s <code><a href=#window>Window</a></code> object.</p>
 
+    <p class=note>This is a willful violation of ECMAScript edition
+    3. <a href=#refsECMA262>[ECMA262]</a></p>
+
    </dd>
 
    <dt>A <dfn id="script's-character-encoding" title="script's character encoding">character encoding</dfn></dt>
@@ -51598,11 +51601,9 @@
 
   <p>When comparing a string specifying a character encoding with the
   name or alias of a character encoding to determine if they are
-  equal, user agents must ignore all characters in the ranges U+0009
-  to U+000D, U+0020 to U+002F, U+003A to U+0040, U+005B to U+0060, and
-  U+007B to U+007E (all whitespace and punctuation characters in
-  ASCII) in both names, and then perform the comparison in an
-  <a href=#ascii-case-insensitive>ASCII case-insensitive</a> manner.</p>
+  equal, user agents must use the Charset Alias Matching rules defined
+  in Unicode Technical Standard #22. <a href=#refsUTS22>[UTS22]</a></p> <!-- XXXrefs
+  http://unicode.org/reports/tr22/#Charset_Alias_Matching -->
 
   <p class=example>For instance, "GB_2312-80" and "g.b.2312(80)" are
   considered equivalent names.</p>

Modified: source
===================================================================
--- source	2009-02-13 03:16:29 UTC (rev 2811)
+++ source	2009-02-13 03:21:25 UTC (rev 2812)
@@ -40235,6 +40235,9 @@
     <code>Window</code> object will be set to the <span>script's
     browsing context</span>'s <code>Window</code> object.</p>
 
+    <p class="note">This is a willful violation of ECMAScript edition
+    3. <a href="#refsECMA262">[ECMA262]</a></p>
+
    </dd>
 
    <dt>A <dfn title="script's character encoding">character encoding</dfn></dt>
@@ -55289,11 +55292,10 @@
 
   <p>When comparing a string specifying a character encoding with the
   name or alias of a character encoding to determine if they are
-  equal, user agents must ignore all characters in the ranges U+0009
-  to U+000D, U+0020 to U+002F, U+003A to U+0040, U+005B to U+0060, and
-  U+007B to U+007E (all whitespace and punctuation characters in
-  ASCII) in both names, and then perform the comparison in an
-  <span>ASCII case-insensitive</span> manner.</p>
+  equal, user agents must use the Charset Alias Matching rules defined
+  in Unicode Technical Standard #22. <a
+  href="#refsUTS22">[UTS22]</a></p> <!-- XXXrefs
+  http://unicode.org/reports/tr22/#Charset_Alias_Matching -->
 
   <p class="example">For instance, "GB_2312-80" and "g.b.2312(80)" are
   considered equivalent names.</p>




More information about the Commit-Watchers mailing list