Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

idn2 (1)

Name

idn2 - Libidn2 Internationalized Domain Names conversion tool

Synopsis

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

Description

IDN2(1)                                                                IDN2(1)



NAME
       idn2 - Libidn2 Internationalized Domain Names conversion tool

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

DESCRIPTION
       idn2  tool converts DNS domains from UTF-8 to ASCII compatible 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.

       -h, --help
              Prints help and exits.

       -V, --version
              Prints version and exits.

       -d, --decode
              Decode an ACE name according to IDNA2008.

       -l, --lookup
              Encode to ACE according to IDNA2008 (the default).

       -r, --register
              Registers a label.

       -T, --tr46t
              Enable TR#46 transitional processing.

       -N, --tr46nt
              Enable TR#46 non-transitional processing (default).

       --no-tr46
              Disable TR#46 processing.

       --usestd3asciirules
              Enable STD3 ASCII rules.

       --debug
              Prints debugging information.

       --quiet
              Silent operation.

Author
       Written by Simon Josefsson.

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



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/libidn2  |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source                was                downloaded                from
       https://ftp.gnu.org/gnu/libidn/libidn2-2.3.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.gnu.org/software/libidn/.



                                   May 2019                            IDN2(1)