DOKK / manpages / debian 10 / idn2 / idn2.1.en
IDN2(1) IDN2(1)

idn2 - Libidn2 Internationalized Domain Names conversion tool

idn2 [OPTION]... [STRINGS]...

idn2 tool converts DNS domains from UTF-8 to ASCII compatibile encoding (ACE) form, as used in the DNS protocol. The encoding format is the Internationalized Domain Name (IDNA2008/TR46) format.

All input strings are expected to be encoded in the locale charset.

To process a string that starts with -, for example -foo, use -- to signal the end of parameters, as in idn2 --quiet -- -foo.

Mandatory arguments to long options are mandatory for short options too.

Prints help and exits.
Prints version and exits.
Decode an ACE name according to IDNA2008.
Encode to ACE according to IDNA2008 (the default).
Registers a label.
Enable TR#46 transitional processing.
Enable TR#46 non-transitional processing (default).
Disable TR#46 processing.
Enable STD3 ASCII rules.
Prints debugging information.
Silent operation.

Written by Simon Josefsson.

Report bugs to the gitlab issue tracker of the project https://gitlab.com/libidn/libidn2/issues.

January 2020