Some reading on IRIs and IDNs

Jason McBrayer jmcbray at carcosa.net
Thu Dec 10 14:20:06 GMT 2020


Petite Abeille <petite.abeille at gmail.com> writes:

>> On Dec 10, 2020, at 05:16, Michael Lazar <lazar.michael22 at gmail.com> wrote:
>> 
>> Next, my naive python test client just kind of works as-is [0][1]. It will
>> convert unicode DNS names to punycode under the hood before doing the lookup.
>
> Perhaps of interest:
>
> How do I know when to do a UTF8 or punycode DNS query?
> https://stackoverflow.com/questions/16837513/how-do-i-know-when-to-do-a-utf8-or-punycode-dns-query

You can unconditionally just run the punycode encoder over domain names,
though – an all-ASCII domain name will be unchanged. The stackoverflow
question deals with non-internet domain names in Active Directory, which
we don't have to support.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray at carcosa.net  |
| A flower falls, even though we love it; and a weed grows, |
| even though we do not love it.            -- Dogen        |


More information about the Gemini mailing list