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 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_8z8z(3)