[html5] r1827 - [w] (2) Make UTF-16 act like UTF-8 for query encoding of URLs.

whatwg at whatwg.org whatwg at whatwg.org
Sun Jun 29 03:07:20 PDT 2008


Author: ianh
Date: 2008-06-29 03:07:19 -0700 (Sun, 29 Jun 2008)
New Revision: 1827

Modified:
   index
   source
Log:
[w] (2) Make UTF-16 act like UTF-8 for query encoding of URLs.

Modified: index
===================================================================
--- index	2008-06-29 09:41:00 UTC (rev 1826)
+++ index	2008-06-29 10:07:19 UTC (rev 1827)
@@ -2709,7 +2709,7 @@
    <li>
     <p>The <a href="#url">URL</a> is a valid IRI reference and the <a
      href="#character1" title="document's character encoding">character
-     encoding</a> of the URL's <code>Document</code> is UTF-8. <a
+     encoding</a> of the URL's <code>Document</code> is UTF-8 or UTF-16. <a
      href="#refsRFC3987">[RFC3987]</a>
   </ul>
 
@@ -2928,6 +2928,9 @@
      title="">document</var>.
 
    <li>
+    <p>If <var title="">encoding</var> is UTF-16, then change it to UTF-8.
+
+   <li>
     <p>Let <var title="">base</var> be the <a href="#base-">base URL</a> for
      <var title="">url</var>. (This is an <a href="#absolute">absolute
      URL</a>.)

Modified: source
===================================================================
--- source	2008-06-29 09:41:00 UTC (rev 1826)
+++ source	2008-06-29 10:07:19 UTC (rev 1827)
@@ -952,7 +952,7 @@
 
    <li><p>The <span>URL</span> is a valid IRI reference and the <span
    title="document's character encoding">character encoding</span> of
-   the URL's <code>Document</code> is UTF-8. <a
+   the URL's <code>Document</code> is UTF-8 or UTF-16. <a
    href="#refsRFC3987">[RFC3987]</a></p></li>
 
   </ul>
@@ -1189,6 +1189,9 @@
    title="document's character encoding">character encoding</span> of
    <var title="">document</var>.</p></li>
 
+   <li><p>If <var title="">encoding</var> is UTF-16, then change it to
+   UTF-8.</p></li>
+
    <li><p>Let <var title="">base</var> be the <span>base URL</span>
    for <var title="">url</var>. (This is an <span>absolute
    URL</span>.)</p></li>




More information about the Commit-Watchers mailing list