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
22 Return value: the resulting character.
23
25 Converts a sequence of bytes encoded as UTF-8 to a Unicode character.
26 If p does not point to a valid UTF-8 encoded character, results are
27 undefined.
28
29 Return value: the resulting character.
30
32 Report bugs to <help-libidn@gnu.org>.
33 General guidelines for reporting bugs: http://www.gnu.org/gethelp/
34 GNU Libidn home page: http://www.gnu.org/software/libidn/
35
36
38 Copyright © 2002-2021 Simon Josefsson.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright no‐
41 tice and this notice are preserved.
42
44 The full documentation for libidn is maintained as a Texinfo manual.
45 If the info and libidn programs are properly installed at your site,
46 the command
47
48 info libidn
49
50 should give you access to the complete manual. As an alternative you
51 may obtain the manual from:
52
53 http://www.gnu.org/software/libidn/manual/
54
55libidn 1.38 stringprep_utf8_to_unichar(3)