summaryrefslogtreecommitdiff
path: root/doc/man/stringprep_convert.3
blob: 4a1f937798a28a3d9495bb6c31e0b17c4b3251ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "stringprep_convert" 3 "1.23" "libidn" "libidn"
.SH NAME
stringprep_convert \- API function
.SH SYNOPSIS
.B #include <stringprep.h>
.sp
.BI "char * stringprep_convert(const char * " str ", const char * " to_codeset ", const char * " from_codeset ");"
.SH ARGUMENTS
.IP "const char * str" 12
input zero\-terminated string.
.IP "const char * to_codeset" 12
name of destination character set.
.IP "const char * from_codeset" 12
name of origin character set, as used by \fIstr\fP.
.SH "DESCRIPTION"
Convert the string from one character set to another using the
system's \fBiconv()\fP function.
.SH "RETURN VALUE"
Returns newly allocated zero\-terminated string which
is \fIstr\fP transcoded into to_codeset.
.SH "REPORTING BUGS"
Report bugs to <bug-libidn@gnu.org>.
GNU Libidn home page: http://www.gnu.org/software/libidn/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2002-2011 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
.SH "SEE ALSO"
The full documentation for
.B libidn
is maintained as a Texinfo manual.  If the
.B info
and
.B libidn
programs are properly installed at your site, the command
.IP
.B info libidn
.PP
should give you access to the complete manual.