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
32 Returns IDNA_SUCCESS on success, or error code.
33
35 Report bugs to <bug-libidn@gnu.org>. GNU Libidn home page:
36 http://www.gnu.org/software/libidn/ General help using GNU software:
37 http://www.gnu.org/gethelp/
38
40 Copyright © 2002-2013 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.
53
54
55
56libidn 1.28 idna_to_unicode_8zlz(3)