W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2009

hixie: UTF-16 is LE on the web, not BE, according to IE. (whatwg r3413)

From: poot <cvsmail@w3.org>
Date: Wed, 15 Jul 2009 13:25:51 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090715042552.15ADC2BBF7@toro.w3.mag.keio.ac.jp>
hixie: UTF-16 is LE on the web, not BE, according to IE. (whatwg r3413)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2542&r2=1.2543&f=h
http://html5.org/tools/web-apps-tracker?from=3412&to=3413

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2542
retrieving revision 1.2543
diff -u -d -r1.2542 -r1.2543
--- Overview.html	15 Jul 2009 03:27:28 -0000	1.2542
+++ Overview.html	15 Jul 2009 04:25:27 -0000	1.2543
@@ -4574,6 +4574,13 @@
   violation</a> of the W3C Character Model specification, motivated
   by a desire for compatibility with legacy content. <a href="#references">[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="#references">[CHARMOD]</a></p>
+
   <hr><p>User agents must not support the CESU-8, UTF-7, BOCU-1 and SCSU
   encodings. <a href="#references">[CESU8]</a> <a href="#references">[UTF7]</a> <a href="#references">[BOCU1]</a> <a href="#references">[SCSU]</a></p>
Received on Wednesday, 15 July 2009 04:26:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:07 GMT