[html5] r5204 - [giow] (2) Make document.open() reset the charset to UTF-8 instead of UTF-16.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 27 12:22:34 PDT 2010


Author: ianh
Date: 2010-07-27 12:22:32 -0700 (Tue, 27 Jul 2010)
New Revision: 5204

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make document.open() reset the charset to UTF-8 instead of UTF-16.

Modified: complete.html
===================================================================
--- complete.html	2010-07-27 07:10:50 UTC (rev 5203)
+++ complete.html	2010-07-27 19:22:32 UTC (rev 5204)
@@ -11222,7 +11222,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="#document's-character-encoding">document's character encoding</a> to
-   UTF-16.</li>
+   UTF-8.</li>
 
    <li><p>Change <a href="#the-document's-address">the document's address</a> to the
    <a href=#entry-script>entry script</a>'s <a href="#script's-document" title="script's

Modified: index
===================================================================
--- index	2010-07-27 07:10:50 UTC (rev 5203)
+++ index	2010-07-27 19:22:32 UTC (rev 5204)
@@ -11146,7 +11146,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="#document's-character-encoding">document's character encoding</a> to
-   UTF-16.</li>
+   UTF-8.</li>
 
    <li><p>Change <a href="#the-document's-address">the document's address</a> to the
    <a href=#entry-script>entry script</a>'s <a href="#script's-document" title="script's

Modified: source
===================================================================
--- source	2010-07-27 07:10:50 UTC (rev 5203)
+++ source	2010-07-27 19:22:32 UTC (rev 5204)
@@ -11541,7 +11541,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 <span>document's character encoding</span> to
-   UTF-16.</p></li>
+   UTF-8.</p></li>
 
    <li><p>Change <span>the document's address</span> to the
    <span>entry script</span>'s <span title="script's




More information about the Commit-Watchers mailing list