[whatwg/url] Is the first example (an octet 0x7F is percent encoded as "%23") correct? (#545)

Hi,

This is my first post to this group, so I apologize for any violation of rules I might have committed.

I refer to the first example in the examples block at the end of section 1.3 Percent-encoded bytes, that reads

Percent-encode input | 0x7F | "%23"

I don't understand this example and think it is incorrect. If I follow the links and do what they suggest, I come up with "%7F" instead.
If, for some reason, this particular octet encoding receives special handling, I think this should be pointed out more clearly.

By the way, what you call a byte (in its original meaning it denotes the smallest addressable unit in memory, and that can consist of more or less than 8 bits), is in fact an octet.  I concede this meaning has become out of use for decades now, and most people identify a byte with an octet, the correct name for an 8-bit unit.  Maybe one should hint to this alternative somewhere?

Wolf Lammen

-- 
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/545

Received on Sunday, 27 September 2020 14:38:38 UTC