1idn2_to_unicode_8z8z(3) libidn2 idn2_to_unicode_8z8z(3)
2
3
4
6 idn2_to_unicode_8z8z - API function
7
9 #include <idn2.h>
10
11 int idn2_to_unicode_8z8z(const char * input, char ** output, int
12 flags);
13
15 const char * input
16 Input zero-terminated UTF-8 string.
17
18 char ** output
19 Newly allocated UTF-8 output string.
20
21 int flags Currently unused.
22
24 Converts a possibly ACE encoded domain name in UTF-8 format into a
25 UTF-8 string (punycode decoding). The output buffer will be zero-termiā
26 nated 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 The full documentation for libidn2 is maintained as a Texinfo manual.
35 If the info and libidn2 programs are properly installed at your site,
36 the command
37
38 info libidn2
39
40 should give you access to the complete manual. As an alternative you
41 may obtain the manual from:
42
43 http://www.gnu.org/software/libidn/libidn2/manual/
44
45libidn2 2.2.0 idn2_to_unicode_8z8z(3)