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

And use it internally. This is also an initial step for #369.

If reviewers have thoughts on how to resolve #296 that'd be appreciated. Renaming things is in scope for this PR modulo the caveats mentioned there. Resolving to continue using the existing names is also fine with me.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/503

-- Commit Summary --

  * Add string UTF-8 percent encode

-- File Changes --

    M url.bs (52)

-- Patch Links --

https://github.com/whatwg/url/pull/503.patch
https://github.com/whatwg/url/pull/503.diff

-- 
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

Received on Saturday, 9 May 2020 08:47:44 UTC