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