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

Well *codePoint* should be self-evidently a code point. **UTF-8 encode** converts the code point into a byte sequence *bytes*. **Percent encode** then converts every *byte* into a [scalar value string](https://infra.spec.whatwg.org/#scalar-value-string) (in fact a [percent-encoded byte](https://url.spec.whatwg.org/#percent-encoded-byte), a special type of string). So the return type of **UTF-8 percent encode** is a string, while it takes in a code point.

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

Received on Monday, 12 June 2017 00:31:01 UTC