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, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
41 Josefsson.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice 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.
54
55
56
57libidn 1.18 idna_to_unicode_8zlz(3)