[html5] r3413 - [] (0) UTF-16 is LE on the web, not BE, according to IE.
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jul 14 21:25:22 PDT 2009
Author: ianh
Date: 2009-07-14 21:25:20 -0700 (Tue, 14 Jul 2009)
New Revision: 3413
Modified:
index
source
Log:
[] (0) UTF-16 is LE on the web, not BE, according to IE.
Modified: index
===================================================================
--- index 2009-07-15 03:27:21 UTC (rev 3412)
+++ index 2009-07-15 04:25:20 UTC (rev 3413)
@@ -5048,6 +5048,13 @@
violation</a> of the W3C Character Model specification, motivated
by a desire for compatibility with legacy content. <a href=#refsCHARMOD>[CHARMOD]</a></p>
+ <p>When a user agent is to use the UTF-16 encoding but no BOM has
+ been found, user agents must default to UTF-16LE.</p>
+
+ <p class=note>The requirement to default UTF-16 to LE rather than
+ BE is a <a href=#willful-violation>willful violation</a> of RFC 2781, motivated by a
+ desire for compatibility with legacy content. <a href=#refsCHARMOD>[CHARMOD]</a></p>
+
<hr><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> <a href=#refsBOCU1>[BOCU1]</a> <a href=#refsSCSU>[SCSU]</a></p>
Modified: source
===================================================================
--- source 2009-07-15 03:27:21 UTC (rev 3412)
+++ source 2009-07-15 04:25:20 UTC (rev 3413)
@@ -4748,6 +4748,14 @@
by a desire for compatibility with legacy content. <a
href="#refsCHARMOD">[CHARMOD]</a></p>
+ <p>When a user agent is to use the UTF-16 encoding but no BOM has
+ been found, user agents must default to UTF-16LE.</p>
+
+ <p class="note">The requirement to default UTF-16 to LE rather than
+ BE is a <span>willful violation</span> of RFC 2781, motivated by a
+ desire for compatibility with legacy content. <a
+ href="#refsCHARMOD">[CHARMOD]</a></p>
+
<hr>
<p>User agents must not support the CESU-8, UTF-7, BOCU-1 and SCSU
More information about the Commit-Watchers
mailing list