Function Repository Resource:

EncodeToIDNA

Source Notebook

Encode a string to the IDNA format

Contributed by: Arnoud Buzing

ResourceFunction["EncodeToIDNA"][session,string]

encodes string to the IDNA format.

Details and Options

ResourceFunction["EncodeToIDNA"] requires the idna Python package. This can be installed by running pip install idna in the command line.