Re: [whatwg/url] Percent-encoding of query wrong for ISO-2022-JP (#557)

I think we should probably do both. I think we want to use a buffer so the URL parser doesn't itself have to keep an encoder alive, but then we do need to process things code-point-for-code-point to do error handling correctly. (I could see an argument for letting the URL parser hold onto an encoder though and passing that into percent-encoding and friends rather than an encoding.)

I filed https://github.com/whatwg/encoding/issues/235 for Encoding standard cleanup as whatever we do here we can no longer use the encode hook it provides.

-- 
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/issues/557#issuecomment-712729586

Received on Tuesday, 20 October 2020 09:44:32 UTC