[tech] [eli5] URI = IRI = ASCII = UTF-8 = Unicode

Petite Abeille petite.abeille at gmail.com
Tue Dec 29 23:25:31 GMT 2020



> On Dec 30, 2020, at 00:13, Michael Lazar <lazar.michael22 at gmail.com> wrote:
> 
> URI's use UTF-8 encoded octets only by popular convention and not by
> any hard rule. You can stick any kind of binary data into a URI as
> long as you percent-encode the non-ASCII bytes.

Yes, indeed. Any random binary will do, e.g. the query portion could contain any weird binary data one sees fit to put there.

Not so much in other parts of the URI though, UTF-8 rules there. 




More information about the Gemini mailing list