1stringprep_utf8_to_unichar(3) libidn stringprep_utf8_to_unichar(3)
2
3
4
6 stringprep_utf8_to_unichar - convert UTF-8 to Unicode code point
7
9 #include <stringprep.h>
10
11 uint32_t stringprep_utf8_to_unichar(const char * p);
12
14 const char * p
15 a pointer to Unicode character encoded as UTF-8
16
18 Converts a sequence of bytes encoded as UTF-8 to a Unicode character.
19 If p does not point to a valid UTF-8 encoded character, results are
20 undefined.
21
23 the resulting character.
24
26 Report bugs to <bug-libidn@gnu.org>.
27
29 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
30 Permission is granted to make and distribute verbatim copies of this
31 manual provided the copyright notice and this permission notice are
32 preserved on all copies.
33
35 The full documentation for libidn is maintained as a Texinfo manual.
36 If the info and libidn programs are properly installed at your site,
37 the command
38
39 info libidn
40
41 should give you access to the complete manual.
42
43
44
45libidn 0.6.8 stringprep_utf8_to_unichar(3)