1idn2_to_unicode_8z4z(3) libidn2 idn2_to_unicode_8z4z(3)
2
3
4
6 idn2_to_unicode_8z4z - API function
7
9 #include <idn2.h>
10
11 int idn2_to_unicode_8z4z(const char * input, uint32_t ** output,
12 G_GNUC_UNUSED int flags);
13
15 const char * input
16 Input zero-terminated UTF-8 string.
17
18 uint32_t ** output
19 Newly allocated UTF-32/UCS-4 output string.
20
21 G_GNUC_UNUSED int flags
22 Currently unused.
23
25 Converts a possibly ACE encoded domain name in UTF-8 format into a
26 UTF-32 string (punycode decoding). The output buffer will be zero-ter‐
27 minated and must be deallocated by the caller.
28
29 output may be NULL to test lookup of input without allocating memory.
30
32 2.0.0
33
35 The full documentation for libidn2 is maintained as a Texinfo manual.
36 If the info and libidn2 programs are properly installed at your site,
37 the command
38
39 info libidn2
40
41 should give you access to the complete manual. As an alternative you
42 may obtain the manual from:
43
44 https://www.gnu.org/software/libidn/libidn2/manual/
45
46libidn2 2.3.1.48-1925 idn2_to_unicode_8z4z(3)