W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2010

html5/spec apis-in-html-documents.html,1.8,1.9 spec.html,1.1076,1.1077

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 27 Jul 2010 19:27:06 +0000
To: public-html-commits@w3.org
Message-Id: <E1Odpnu-0002VW-3D@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv9603

Modified Files:
	apis-in-html-documents.html spec.html 
Log Message:
Make document.open() reset the charset to UTF-8 instead of UTF-16. (whatwg r5204)

[updated by splitter]


Index: apis-in-html-documents.html
===================================================================
RCS file: /sources/public/html5/spec/apis-in-html-documents.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- apis-in-html-documents.html	14 Jul 2010 02:06:51 -0000	1.8
+++ apis-in-html-documents.html	27 Jul 2010 19:27:03 -0000	1.9
@@ -640,7 +640,7 @@
    <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0A...%3Ciframe%3E%3C%2Fiframe%3E%0D%0A%3Cscript%3E%0D%0Aonload%20%3D%20function%20()%20%7B%0D%0A%20frames%5B0%5D.test%20%3D%201%0D%0A%20w(frames%5B0%5D.test)%3B%0D%0A%20var%20a%20%3D%20frames%5B0%5D.document.location.assign%3B%0D%0A%20w(a)%3B%0D%0A%20w(frames%5B0%5D.document.location.assign%20%3D%3D%3D%20a)%3B%0D%0A%20frames%5B0%5D.document.open()%3B%0D%0A%20frames%5B0%5D.document.write('%3Cscript%3Edocument.write(test)%3C%5C%2Fscript%3E')%3B%0D%0A%20frames%5B0%5D.document.close()%3B%0D%0A%20w(frames%5B0%5D.test)%3B%0D%0A%20w(frames%5B0%5D.document.location.assign%20%3D%3D%3D%20a)%3B%0D%0A%7D%0D%0A%3C%2Fscript%3E -->
 
    <li><p>Change the <a href="dom.html#document-s-character-encoding">document's character encoding</a> to
-   UTF-16.</p></li>
+   UTF-8.</p></li>
 
    <li><p>Change <a href="dom.html#the-document-s-address">the document's address</a> to the
    <a href="browsers.html#entry-script">entry script</a>'s <a href="webappapis.html#script-s-document" title="script's

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1076
retrieving revision 1.1077
diff -u -d -r1.1076 -r1.1077
--- spec.html	27 Jul 2010 07:16:56 -0000	1.1076
+++ spec.html	27 Jul 2010 19:27:03 -0000	1.1077
@@ -333,7 +333,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">author edition</a>.
-This is revision 1.4138.
+This is revision 1.4139.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 27 July 2010 19:27:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 July 2010 19:27:08 GMT