NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 529 - Trade willful violation of ECMAScript for unintentional violation of Unicode - update the character encoding alias rules.
Trade willful violation of ECMAScript for unintentional violation of Unicode ...
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:22 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:22:26 CEST
Index: source
===================================================================
--- source	(revision 2811)
+++ source	(revision 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>