[spec] IRIs, IDNs, and all that international jazz

Petite Abeille petite.abeille at gmail.com
Sat Dec 26 21:33:28 GMT 2020



> On Dec 26, 2020, at 22:10, John Cowan <cowan at ccil.org> wrote:
> 
> the whole URI can have its non-ASCII characters %-encoded all at once

Right. But that was not Stephane problematic, which was related to how to encode Reserved Characters gen-delims "/" in a path.

Consider the following 3 path segments: "Research", "A/B Testing", "Results".

Stephane asserts the following encodings are equivalent:

Research%2FA%2FB%20Testing%2FResults

vs.
Research/A%2FB%20Testing/Results

They are clearly not. The first variant will result in one path segment, with data loss. While the second one will preserve the original semantic, with 3 segments, individually encoded, and intact.

They are not equivalent path. Try it in your favorite library.









More information about the Gemini mailing list