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

Jason McBrayer jmcbray at carcosa.net
Sat Dec 26 02:33:53 GMT 2020


bie <bie at 202x.moe> writes:

> After thinking about this for a while, the biggest issue for me is
> that this is a breaking change. Breaking in the sense that it breaks
> *every single compliant server we already have*!

I think that's a little dramatic. Looking at my server, I need to make a
change in exactly one place: when mapping IRI paths to file paths, I
can no longer use the url decoding library I was using to decode URI
paths, because it mangles Unicode characters. But since I can now be
sure that only IRI reserved characters are encoded, I can just do a
simple substring substitution. It's also a change that is
backward-compatible with old clients.

-- 
Jason McBrayer      | “Strange is the night where black stars rise,
jmcbray at carcosa.net | and strange moons circle through the skies,
                    | but stranger still is lost Carcosa.”
                    | ― Robert W. Chambers,The King in Yellow


More information about the Gemini mailing list