IDN with Gemini?

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

---

Previous in thread (60 of 68): 🗣️ Philip Linde (linde.philip (a) gmail.com)

Next in thread (62 of 68): 🗣️ colecmac (a) protonmail.com (colecmac (a) protonmail.com)

View entire thread.