Re: [whatwg/url] Add string UTF-8 percent encode (#503)

@domenic commented on this pull request.



> @@ -197,9 +201,17 @@ U+005B ([) to U+005E (^), inclusive, and U+007C (|).
  concatenated, in the same order.
 </ol>
 
-<p class="note no-backref">The <a><code>application/x-www-form-urlencoded</code></a> format's
-<a lt="urlencoded byte serializer">byte serializer</a> and the <a>URL parser</a>'s
-<a>query state</a> use <a>percent encode</a> directly.
+<p>To <dfn>string UTF-8 percent encode</dfn> a <a for=/>string</a> <var>input</var> using a

You could even rename "string percent decode" to just "percent decode" with for=string. And then you could add a note afterward saying something like

> In general, percent encoding results in a string, whereas percent decoding results in a byte sequence.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/503#discussion_r423194120

Received on Monday, 11 May 2020 17:16:40 UTC