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

NAME

6       stringprep_convert - API function
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>.    GNU   Libidn   home   page:
34       http://www.gnu.org/software/libidn/  General  help  using GNU software:
35       http://www.gnu.org/gethelp/
36
38       Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010  Simon
39       Josefsson.
40       Copying  and  distribution  of this file, with or without modification,
41       are permitted in any medium  without  royalty  provided  the  copyright
42       notice and this notice are preserved.
43

SEE ALSO

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