1stringprep_utf8_to_unichar(3) libidn stringprep_utf8_to_unichar(3)
2
3
4
6 stringprep_utf8_to_unichar - API function
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>. GNU Libidn home page:
27 http://www.gnu.org/software/libidn/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
32 Josefsson.
33 Copying and distribution of this file, with or without modification,
34 are permitted in any medium without royalty provided the copyright
35 notice and this notice are preserved.
36
38 The full documentation for libidn is maintained as a Texinfo manual.
39 If the info and libidn programs are properly installed at your site,
40 the command
41
42 info libidn
43
44 should give you access to the complete manual.
45
46
47
48libidn 1.18 stringprep_utf8_to_unichar(3)