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