1stringprep_convert(3)               libidn               stringprep_convert(3)
2
3
4

NAME

6       stringprep_convert - encode string using new character set
7

SYNOPSIS

9       #include <stringprep.h>
10
11       char  *  stringprep_convert(const  char * str, const char * to_codeset,
12       const char * from_codeset);
13

ARGUMENTS

15       const char * str
16                   input zero-terminated string.
17
18       const char * to_codeset
19                   name of destination character set.
20
21       const char * from_codeset
22                   name of origin character set, as used by str.
23

DESCRIPTION

25       Convert the string from one character set to another using the system's
26       iconv() function.
27

RETURN VALUE

29       Returns  newly allocated zero-terminated string which is str transcoded
30       into to_codeset.
31

REPORTING BUGS

33       Report bugs to <bug-libidn@gnu.org>.
34
36       Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
37       Permission is granted to make and distribute verbatim  copies  of  this
38       manual  provided  the  copyright  notice and this permission notice are
39       preserved on all copies.
40

SEE ALSO

42       The full documentation for libidn is maintained as  a  Texinfo  manual.
43       If  the  info  and libidn programs are properly installed at your site,
44       the command
45
46              info libidn
47
48       should give you access to the complete manual.
49
50
51
52libidn                               0.6.8               stringprep_convert(3)
Impressum