1idna_to_ascii_8z(3)                 libidn                 idna_to_ascii_8z(3)
2
3
4

NAME

6       idna_to_ascii_8z - API function
7

SYNOPSIS

9       #include <idna.h>
10
11       int idna_to_ascii_8z(const char * input, char ** output, int flags);
12

ARGUMENTS

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

DESCRIPTION

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
28       Return value: Returns IDNA_SUCCESS on success, or error code.
29

REPORTING BUGS

31       Report bugs to <help-libidn@gnu.org>.
32       General guidelines for reporting bugs: https://www.gnu.org/gethelp/
33       GNU Libidn home page: https://www.gnu.org/software/libidn/
34
35
37       Copyright © 2002-2022 Simon Josefsson.
38       Copying and distribution of this file, with  or  without  modification,
39       are  permitted in any medium without royalty provided the copyright no‐
40       tice and this notice are preserved.
41

SEE ALSO

43       The full documentation for libidn is maintained as  a  Texinfo  manual.
44       If  the  info  and libidn programs are properly installed at your site,
45       the command
46
47              info libidn
48
49       should give you access to the complete manual.  As an  alternative  you
50       may obtain the manual from:
51
52              https://www.gnu.org/software/libidn/manual/
53
54libidn                               1.41                  idna_to_ascii_8z(3)
Impressum