1idn2_to_unicode_8zlz(3) libidn2 idn2_to_unicode_8zlz(3)
2
3
4
6 idn2_to_unicode_8zlz - API function
7
9 #include <idn2.h>
10
11 int idn2_to_unicode_8zlz(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 output string in current locale's character
20 set.
21
22 int flags Currently unused.
23
25 Converts a possibly ACE encoded domain name in UTF-8 format into a
26 string encoded in the current locale's character set (punycode decod‐
27 ing). The output buffer will be zero-terminated and must be deallocated
28 by the caller.
29
30 output may be NULL to test lookup of input without allocating memory.
31
33 2.0.0
34
36 The full documentation for libidn2 is maintained as a Texinfo manual.
37 If the info and libidn2 programs are properly installed at your site,
38 the command
39
40 info libidn2
41
42 should give you access to the complete manual. As an alternative you
43 may obtain the manual from:
44
45 http://www.gnu.org/software/libidn/libidn2/manual/
46
47libidn2 2.2.0 idn2_to_unicode_8zlz(3)