1idn2_to_unicode_4z4z(3) libidn2 idn2_to_unicode_4z4z(3)
2
3
4
6 idn2_to_unicode_4z4z - API function
7
9 #include <idn2.h>
10
11 int idn2_to_unicode_4z4z(const uint32_t * input, uint32_t ** output,
12 int flags);
13
15 const uint32_t * input
16 Input zero-terminated UTF-32 string.
17
18 uint32_t ** output
19 Newly allocated UTF-32 output string.
20
21 int flags Currently unused.
22
24 Converts a possibly ACE encoded domain name in UTF-32 format into a
25 UTF-32 string (punycode decoding). The output buffer will be zero-ter‐
26 minated and must be deallocated by the caller.
27
28 output may be NULL to test lookup of input without allocating memory.
29
31 2.0.0
32
34 Report bugs to <help-libidn@gnu.org>.
35 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
36 Libidn2 home page: https://www.gnu.org/software/libidn2/
37
38
40 Copyright © 2002-2022 Simon Josefsson.
41 Copying and distribution of this file, with or without modification,
42 are permitted in any medium without royalty provided the copyright no‐
43 tice and this notice are preserved.
44
46 The full documentation for libidn2 is maintained as a Texinfo manual.
47 If the info and libidn2 programs are properly installed at your site,
48 the command
49
50 info libidn2
51
52 should give you access to the complete manual. As an alternative you
53 may obtain the manual from:
54
55 https://www.gnu.org/software/libidn/libidn2/manual/
56
57libidn2 2.3.4 idn2_to_unicode_4z4z(3)