1idn2_to_unicode_lzlz(3) libidn2 idn2_to_unicode_lzlz(3)
2
3
4
6 idn2_to_unicode_lzlz - API function
7
9 #include <idn2.h>
10
11 int idn2_to_unicode_lzlz(const char * input, char ** output, int
12 flags);
13
15 const char * input
16 Input zero-terminated string encoded in the current lo‐
17 cale's character set.
18
19 char ** output
20 Newly allocated output string in current locale's character
21 set.
22
23 int flags Currently unused.
24
26 Converts a possibly ACE encoded domain name in the locale's character
27 set into a string encoded in the current locale's character set (puny‐
28 code decoding). The output buffer will be zero-terminated and must be
29 deallocated by the caller.
30
31 output may be NULL to test lookup of input without allocating memory.
32
34 2.0.0
35
37 The full documentation for libidn2 is maintained as a Texinfo manual.
38 If the info and libidn2 programs are properly installed at your site,
39 the command
40
41 info libidn2
42
43 should give you access to the complete manual. As an alternative you
44 may obtain the manual from:
45
46 http://www.gnu.org/software/libidn/libidn2/manual/
47
48libidn2 2.3.1 idn2_to_unicode_lzlz(3)