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

I've been thinking about this a lot and I think part of the problem is the use of the word "string" to sometimes mean a sequence of bytes, a sequence of code points, a sequence of abstract characters.
The charset-named translations like utf-8 or us-ascii are mappings between sequence of abstract characters and sequence of bytes.

If you name the levels of encoding, some of the ambiguity drops away.


-- 
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#issuecomment-626369437

Received on Sunday, 10 May 2020 18:30:59 UTC