- From: Timothy Gu <notifications@github.com>
- Date: Sun, 11 Jun 2017 17:29:57 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 12 June 2017 00:31:01 UTC
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