1idna_to_unicode_lzlz(3) libidn idna_to_unicode_lzlz(3)
2
3
4
6 idna_to_unicode_lzlz - API function
7
9 #include <idna.h>
10
11 int idna_to_unicode_lzlz(const char * input, char ** output, int
12 flags);
13
15 const char * input
16 zero-terminated string encoded in the current locale's
17 character set.
18
19 char ** output
20 pointer to newly allocated output string encoded in the
21 current locale's character set.
22
23 int flags an Idna_flags value, e.g., IDNA_ALLOW_UNASSIGNED or
24 IDNA_USE_STD3_ASCII_RULES.
25
27 Convert possibly ACE encoded domain name in the locale's character set
28 into a string encoded in the current locale's character set. The do‐
29 main name may contain several labels, separated by dots. The output
30 buffer must be deallocated by the caller.
31
32 Return value: Returns IDNA_SUCCESS on success, or error code.
33
35 Report bugs to <help-libidn@gnu.org>.
36 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
37 GNU Libidn home page: https://www.gnu.org/software/libidn/
38
39
41 Copyright © 2002-2022 Simon Josefsson.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright no‐
44 tice and this notice are preserved.
45
47 The full documentation for libidn is maintained as a Texinfo manual.
48 If the info and libidn programs are properly installed at your site,
49 the command
50
51 info libidn
52
53 should give you access to the complete manual. As an alternative you
54 may obtain the manual from:
55
56 https://www.gnu.org/software/libidn/manual/
57
58libidn 1.41 idna_to_unicode_lzlz(3)