1stringprep_unichar_to_utf8(3)       libidn       stringprep_unichar_to_utf8(3)
2
3
4

NAME

6       stringprep_unichar_to_utf8 - API function
7

SYNOPSIS

9       #include <stringprep.h>
10
11       int stringprep_unichar_to_utf8(uint32_t c, char * outbuf);
12

ARGUMENTS

14       uint32_t c  a ISO10646 character code
15
16       char * outbuf
17                   output  buffer,  must  have  at least 6 bytes of space.  If
18                   NULL, the length will be computed and returned and  nothing
19                   will be written to  outbuf .
20

DESCRIPTION

22       Converts a single character to UTF-8.
23
24       Return value: number of bytes written.
25

REPORTING BUGS

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

SEE ALSO

39       The  full  documentation  for libidn is maintained as a Texinfo manual.
40       If the info and libidn programs are properly installed  at  your  site,
41       the command
42
43              info libidn
44
45       should  give  you access to the complete manual.  As an alternative you
46       may obtain the manual from:
47
48              http://www.gnu.org/software/libidn/manual/
49
50libidn                               1.38        stringprep_unichar_to_utf8(3)
Impressum