Re: [whatwg/url] "UTF-8 percent encode c using the path percent-e..." (#296)

The "UTF-8 percent encode" algorithm also appears to be unclear as to whether it's operating on code points or bytes. What's its return type?

>To **UTF-8 percent encode** a _codePoint_, using a _percentEncodeSet_, run these steps:
> 1. If _codePoint_ is not in _percentEncodeSet_, then return _codePoint_.
> 1. Let _bytes_ be the result of running **UTF-8 encode** on _codePoint_.
> 1. **Percent encode** each byte in _bytes_, and then return the results concatenated, in the same order.


-- 
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/296#issuecomment-307652941

Received on Sunday, 11 June 2017 20:01:25 UTC