1stringprep_utf8_to_locale(3) libidn stringprep_utf8_to_locale(3)
2
3
4
6 stringprep_utf8_to_locale - API function
7
9 #include <stringprep.h>
10
11 char * stringprep_utf8_to_locale(const char * str);
12
14 const char * str
15 input zero terminated string.
16
18 Convert string encoded in UTF-8 into the locale's character set by us‐
19 ing stringprep_convert().
20
21 Return value: Returns newly allocated zero-terminated string which is
22 str transcoded into the locale's character set.
23
25 Report bugs to <help-libidn@gnu.org>.
26 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
27 GNU Libidn home page: https://www.gnu.org/software/libidn/
28
29
31 Copyright © 2002-2022 Simon Josefsson.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright no‐
34 tice and this notice are preserved.
35
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. As an alternative you
44 may obtain the manual from:
45
46 https://www.gnu.org/software/libidn/manual/
47
48libidn 1.41 stringprep_utf8_to_locale(3)