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