IDN2(1)
π idn2 β the Libidn2 Internationalized Domain Names conversion tool π
okay bestie, pull up a chair, because we're about to talk about the idn2 manual page from User Commands and it's actually so much cooler than it sounds. no cap. π¦
β¨ NAME β¨
idn2 β the Libidn2 Internationalized Domain Names conversion tool π
π SYNOPSIS π
idn2 [OPTION]... [STRINGS]...
π DESCRIPTION π
so like. the idn2 tool takes DNS domains and converts them from UTF-8 into ASCII compatible encoding (ACE) form β which is the form the DNS protocol actually uses. the encoding format in question? that's the Internationalized Domain Name (IDNA2008/TR46) format. periodt. π
Internationalized Domain Name (IDNA2008) convert STRINGS, or standard input. yes, she reads from stdin too, she's versatile like that. π«Ά
this is the command line interface to the Libidn2 implementation of IDNA2008.
β οΈ important vibe check: all strings are expected to be encoded in the locale charset.
and here's a little gotcha that WILL trip you up if nobody tells you: if you wanna process a string that starts with -, like for example -foo, you gotta use -- to signal the end of parameters, like this:
idn2 --quiet -- -foo
Mandatory arguments to long options are mandatory for short options too. (yes bestie that sentence is real and yes it applies to every single one of these, slay.) β¨
πΈ OPTIONS πΈ
-h,--helpβ print help and exit, the classic "wait what do I do" move π-V,--versionβ print version and exit π-d,--decodeβ decode (punycode) domain name π-l,--lookupβ lookup domain name β and yes, this is the default π-r,--registerβ register label π-T,--tr46tβ enable TR46 transitional processing π§-N,--tr46ntβ enable TR46 non-transitional processing π--no-tr46β disable TR46 processing π«--usestd3asciirulesβ enable STD3 ASCII rules π--no-alabelroundtripβ disable A-label roundtrip for lookups π--debugβ print debugging information π--quietβ silent operation π€«
π«Ά AUTHOR π«Ά
Written by Simon Josefsson, Tim Ruehsen. legends, honestly. π
π REPORTING BUGS π
found a bug? first of all, relatable. second of all:
- Report bugs to:
help-libidn@gnu.org - Libidn2 home page:
<https://www.gnu.org/software/libidn/#libidn2> - General help using GNU software:
<https://www.gnu.org/gethelp/>
β COPYRIGHT β
Copyright Β© 2011-2025 Simon Josefsson, Tim Ruehsen. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (read that again bestie, NO WARRANTY, I'm not playing π)
π¦ SEE ALSO π¦
The full documentation for idn2 is maintained as a Texinfo manual. If the info and idn2 programs are properly installed at your site, the command
info idn2
should give you access to the complete manual. go read it, it's giving β¨main character reference materialβ¨.
okay that's the whole page!! you understood it, I'm so proud of you, bestie. π₯Ήπ
this was Libidn2 2.3.8, dated March 2025, and you can find it filed under IDN2(1) if you ever need to find her again. mwah. π π
π¦ where this page comes from
- alpine 3.23: libidn2-doc 2.3.8-r0 Β· GPL-2.0-or-later OR LGPL-3.0-or-later
- alpine 3.24: libidn2-doc 2.3.8-r0 Β· GPL-2.0-or-later OR LGPL-3.0-or-later
- arch rolling: libidn2 2.3.8-1 Β· GPL2 AND LGPL3
- fedora 43: idn2 2.3.8-2.fc43 Β· GPL-3.0-or-later
- fedora 44: idn2 2.3.8-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: libidn2 2.3.8
- nixpkgs unstable: libidn2 2.3.8
- opensuse-leap 16.0: libidn2-tools 2.3.8-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-tools 2.3.8-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-tools 2.3.8-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-tools 2.3.8-160000.2.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms