Skip to content

Commit

Permalink
[w] (2) Make UTF-16 act like UTF-8 for query encoding of URLs.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1827 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 29, 2008
1 parent 09bab12 commit 1588bdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index
Expand Up @@ -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>

Expand Down Expand Up @@ -2927,6 +2927,9 @@
title="document's character encoding">character encoding</a> of <var
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
Expand Down
5 changes: 4 additions & 1 deletion source
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 1588bdc

Please sign in to comment.