1idn2_to_unicode_8zlz(3)             libidn2            idn2_to_unicode_8zlz(3)
2
3
4

NAME

6       idn2_to_unicode_8zlz - API function
7

SYNOPSIS

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

ARGUMENTS

15       const char * input
16                   Input zero-terminated UTF-8 string.
17
18       char ** output
19                   Newly allocated output string in current locale's character
20                   set.
21
22       int flags   Currently unused.
23

DESCRIPTION

25       Converts  a  possibly  ACE  encoded  domain name in UTF-8 format into a
26       string encoded in the current locale's character set  (punycode  decod‐
27       ing). The output buffer will be zero-terminated and must be deallocated
28       by the caller.
29
30        output may be NULL to test lookup of  input without allocating memory.
31

SINCE

33       2.0.0
34

REPORTING BUGS

36       Report bugs to <help-libidn@gnu.org>.
37       General guidelines for reporting bugs: https://www.gnu.org/gethelp/
38       Libidn2 home page: https://www.gnu.org/software/libidn2/
39
40
42       Copyright © 2002-2022 Simon Josefsson.
43       Copying and distribution of this file, with  or  without  modification,
44       are  permitted in any medium without royalty provided the copyright no‐
45       tice and this notice are preserved.
46

SEE ALSO

48       The full documentation for libidn2 is maintained as a  Texinfo  manual.
49       If  the  info and libidn2 programs are properly installed at your site,
50       the command
51
52              info libidn2
53
54       should give you access to the complete manual.  As an  alternative  you
55       may obtain the manual from:
56
57              https://www.gnu.org/software/libidn/libidn2/manual/
58
59libidn2                              2.3.3             idn2_to_unicode_8zlz(3)
Impressum