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

NAME

6       stringprep_unichar_to_utf8 - convert Unicode code point to UTF-8
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

RETURN VALUE

25       number of bytes written.
26

REPORTING BUGS

28       Report bugs to <bug-libidn@gnu.org>.
29
31       Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
32       Permission  is  granted  to make and distribute verbatim copies of this
33       manual provided the copyright notice and  this  permission  notice  are
34       preserved on all copies.
35

SEE ALSO

37       The  full  documentation  for libidn is maintained as a Texinfo manual.
38       If the info and libidn programs are properly installed  at  your  site,
39       the command
40
41              info libidn
42
43       should give you access to the complete manual.
44
45
46
47libidn                               0.6.8       stringprep_unichar_to_utf8(3)
Impressum