IDN with Gemini?
John Cowan
cowan at ccil.org
Fri Dec 4 14:46:40 GMT 2020
On Fri, Dec 4, 2020 at 8:53 AM Stephane Bortzmeyer <stephane at sources.org>
wrote:
Therefore, it is not clear what servers and clients should do (send an
> IRI, or accept IRI but convert it to URI or something else).
>
It seems clear from the behavior of web browsers that the Right Thing is to
convert all IDNs to Punycode before putting them on the wire. By the same
token, all non-ASCII characters in other parts should be UTF-8 encoded and
then %-encoded before transmission. This applies both to IRIs entered by
hand and IRIs appearing in links.
> * Amfora claims the domain name does not exist (it does exist),
> "Failed to connect to the server: dial tcp: lookup
> gémeaux.bortzmeyer.org <http://xn--gmeaux-bva.bortzmeyer.org>: no such
> host."
>
I'm pretty sure this is because no punycoding is being done in the DNS, and
it's probably getting the UTF-8 encoding instead of "
xn--gmeaux-bva.bortzmeyer.org". When I ask Lagrange to connect to the
punycoded form explicitly, your server does not recognize it as "self" and
replies with "Proxy Request Refused".
I can't account for the behavior of the other servers easily.
John Cowan http://vrici.lojban.org/~cowan cowan at ccil.org
One art / There is / No less / No more
To do / All things / With sparks / Galore --Douglas Hofstadter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201204/77b4431f/attachment.htm>
More information about the Gemini
mailing list