idn2_to_unicode_44i(3)
π idn2_to_unicode_44i β the libidn2 glow-up page β¨
okay bestie, gather round, because we're talking about idn2_to_unicode_44i(3) from libidn2 and it's literally the "turn my ACE label back into its cute internationalized self" function. no cap. π¦
β¨ SYNOPSIS β¨
#include <idn2.h>
int idn2_to_unicode_44i(const uint32_t * in, size_t inlen, uint32_t *
out, size_t * outlen, int flags);
like, that's the whole vibe. five args, one return value, zero drama. π
π ARGUMENTS π
const uint32_t * inβ bestie this is your input array, and it's full of UTF-32 code points. that's the raw material. β¨size_t inlenβ how many code points are actually in that input array. the headcount. the guest list. πuint32_t * outβ the output array, also UTF-32 code points. this is where the glow-up lands. πΈsize_t * outlenβ okay so this one is doing double duty and honestly? icon behaviour. on input it's the maximum size of the output array (in UTF-32 code points), and on exit it's the actual size of the output array (in UTF-32 code points). she goes in as a limit and comes out as a receipt. π«Άint flagsβ currently unused. yes, really. it's just sitting there, main character energy, doing absolutely nothing. π
π DESCRIPTION π
The ToUnicode operation takes a sequence of UTF-32 code points that make up one domain label and returns a sequence of UTF-32 code points. one label in, one label out. very demure, very mindful.
and here's the tea β β if the input sequence is a label in ACE form, then the result is an equivalent internationalized label that is not in ACE form. it's giving "de-code me, un-punycode me, let me be my true self." β¨
otherwise? the original sequence is returned unaltered. untouched. left exactly as it was. she said "no notes." π
oh and ps βoutputmay beNULLto test lookup ofinputwithout allocating memory. that's the pro move right there, no allocation, just vibes and a vibe check. π§
β SINCE β
2.0.0 β an elder, but make it iconic. π
π REPORTING BUGS π
found a bug? don't be shy, tell the people:
- Report bugs to <
help-libidn@gnu.org>. π§ - General guidelines for reporting bugs:
https://www.gnu.org/gethelp/ - Libidn2 home page:
https://www.gnu.org/software/libidn2/
fr fr, they wanna hear from you. π«Ά
π COPYRIGHT π
Copyright Β© 2002-2025 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. slay, and also: legally binding. β¨
π¦ SEE ALSO π¦
The full documentation for libidn2 is maintained as a Texinfo manual. If the info and libidn2 programs are properly installed at your site, the command
info libidn2
should give you access to the complete manual. As an alternative you may obtain the manual from:
https://www.gnu.org/software/libidn/libidn2/manual/
iykyk. go read it, it's giving comprehensive. ππ
and that's the whole page bestie!! this one came from libidn2 version 2.3.8 β mwah, kisses, see you in the next manpage πβ¨π
π¦ 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
- debian trixie: libidn2-dev 2.3.8-2 Β· GPL-3.0-or-later
- fedora 43: libidn2-devel 2.3.8-2.fc43 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- fedora 43: libidn2-devel 2.3.8-2.fc43 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- fedora 44: libidn2-devel 2.3.8-3.fc44 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- fedora 44: libidn2-devel 2.3.8-3.fc44 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-devel 2.3.8-160000.2.2 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-devel 2.3.8-160000.2.2 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-devel 2.3.8-160000.2.2 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- opensuse-leap 16.0: libidn2-devel 2.3.8-160000.2.2 Β· (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
- ubuntu questing: libidn2-dev 2.3.8-4
- ubuntu resolute: libidn2-dev 2.3.8-4build1 Β· GPL-3.0-or-later
- ubuntu stonking: libidn2-dev 2.3.8-5 Β· 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