1idna_to_ascii_8z(3) libidn idna_to_ascii_8z(3)
2
3
4
6 idna_to_ascii_8z - convert Unicode domain name label to text
7
9 #include <idna.h>
10
11 int idna_to_ascii_8z(const char * input, char ** output, int flags);
12
14 const char * input
15 zero terminated input UTF-8 string.
16
17 char ** output
18 pointer to newly allocated output string.
19
20 int flags an Idna_flags value, e.g., IDNA_ALLOW_UNASSIGNED or
21 IDNA_USE_STD3_ASCII_RULES.
22
24 Convert UTF-8 domain name to ASCII string. The domain name may contain
25 several labels, separated by dots. The output buffer must be deallo‐
26 cated by the caller.
27
29 Returns IDNA_SUCCESS on success, or error code.
30
32 Report bugs to <bug-libidn@gnu.org>.
33
35 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
36 Permission is granted to make and distribute verbatim copies of this
37 manual provided the copyright notice and this permission notice are
38 preserved on all copies.
39
41 The full documentation for libidn is maintained as a Texinfo manual.
42 If the info and libidn programs are properly installed at your site,
43 the command
44
45 info libidn
46
47 should give you access to the complete manual.
48
49
50
51libidn 0.6.8 idna_to_ascii_8z(3)