IDN with Gemini?

> -   parse the IRI and extract the domain name
> -   convert it to Punycode
> -   do the DNS lookup
> -   connect to the IP address and send the IRI as request

I feel like this is probably the most intuitive method. Only
use punycoding when it's a necessity, like for DNS lookups.

What about link lines though? I think that clients should
accept both punycoded and Unicode domains in links. Convert
all links' domain to punycode for DNS, then convert all links'
domain to Unicode for sending. That seems a bit complicated,
but from an author perspective it makes sense to support both.

makeworld

---

Previous in thread (3 of 68): 🗣️ Stephane Bortzmeyer (stephane (a) sources.org)

Next in thread (5 of 68): 🗣️ Stephane Bortzmeyer (stephane (a) sources.org)

View entire thread.