1IDN2(1) IDN2(1)
2
3
4
6 idn2 - Libidn2 Internationalized Domain Names conversion tool
7
9 idn2 [OPTION]... [STRINGS]...
10
12 idn2 tool converts DNS domains from UTF-8 to ASCII compatible encoding
13 (ACE) form, as used in the DNS protocol. The encoding format is the
14 Internationalized Domain Name (IDNA2008/TR46) format.
15
16 All input strings are expected to be encoded in the locale charset.
17
18 To process a string that starts with -, for example -foo, use -- to
19 signal the end of parameters, as in idn2 --quiet -- -foo.
20
21 Mandatory arguments to long options are mandatory for short options
22 too.
23
24 -h, --help
25 Prints help and exits.
26
27 -V, --version
28 Prints version and exits.
29
30 -d, --decode
31 Decode an ACE name according to IDNA2008.
32
33 -l, --lookup
34 Encode to ACE according to IDNA2008 (the default).
35
36 -r, --register
37 Registers a label.
38
39 -T, --tr46t
40 Enable TR#46 transitional processing.
41
42 -N, --tr46nt
43 Enable TR#46 non-transitional processing (default).
44
45 --no-tr46
46 Disable TR#46 processing.
47
48 --usestd3asciirules
49 Enable STD3 ASCII rules.
50
51 --debug
52 Prints debugging information.
53
54 --quiet
55 Silent operation.
56
58 Written by Simon Josefsson.
59
61 Report bugs to the gitlab issue tracker of the project
62 https://gitlab.com/libidn/libidn2/issues.
63
64
65
66 May 2019 IDN2(1)