IDN with Gemini?
Gary Johnson
lambdatronic at disroot.org
Tue Dec 8 17:31:16 GMT 2020
As yet another data point, Java's standard library contains a class
(java.net.URI) that correctly parses URIs with non-ASCII characters in
their paths and query params, but it chokes when they are in the domain
name.
Therefore, URIs like this should work fine with Space Age:
gemini://gemeaux.bortzmeyer.org:8965/café?fooéy=baréy
But this is a non-starter:
gemini://gémeaux.bortzmeyer.org:8965/café?fooéy=baréy
It looks like there is an incomplete and poorly documented
implementation of RFC 3987 (IRI) and RFC 3986 (URI) in Apache Jena
(https://jena.apache.org/documentation/notes/iri.html), but it's a
rather heavyweight addition to an otherwise very concise Gemini server.
I'll keep an eye on this thread to see what the community ultimately
decides to do about IRI/IDN.
Happy hacking,
Gary
--
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Why is HTML email a security nightmare? See https://useplaintext.email/
Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
More information about the Gemini
mailing list