1idna_to_ascii_4z(3) libidn idna_to_ascii_4z(3)
2
3
4
6 idna_to_ascii_4z - API function
7
9 #include <idna.h>
10
11 int idna_to_ascii_4z(const uint32_t * input, char ** output, int
12 flags);
13
15 const uint32_t * input
16 zero terminated input Unicode string.
17
18 char ** output
19 pointer to newly allocated output string.
20
21 int flags an Idna_flags value, e.g., IDNA_ALLOW_UNASSIGNED or
22 IDNA_USE_STD3_ASCII_RULES.
23
25 Convert UCS-4 domain name to ASCII string. The domain name may contain
26 several labels, separated by dots. The output buffer must be deallo‐
27 cated 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-2013 Simon Josefsson.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for libidn is maintained as a Texinfo manual.
45 If the info and libidn programs are properly installed at your site,
46 the command
47
48 info libidn
49
50 should give you access to the complete manual.
51
52
53
54libidn 1.28 idna_to_ascii_4z(3)