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 Report bugs to <help-libidn@gnu.org>.
36 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
37 Libidn2 home page: https://www.gnu.org/software/libidn2/
38
39
41 Copyright © 2002-2022 Simon Josefsson.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright no‐
44 tice and this notice are preserved.
45
47 The full documentation for libidn2 is maintained as a Texinfo manual.
48 If the info and libidn2 programs are properly installed at your site,
49 the command
50
51 info libidn2
52
53 should give you access to the complete manual. As an alternative you
54 may obtain the manual from:
55
56 https://www.gnu.org/software/libidn/libidn2/manual/
57
58libidn2 2.3.3 idn2_to_unicode_8z4z(3)