open
Description:
Same as the standard UNIX routine iconv_open
, but may be implemented via libiconv on UNIX flavors that lack a native
implementation.
GLib provides convert and locale_to_utf8 which are likely more convenient than the raw iconv wrappers.
Parameters:
to_codeset |
destination codeset |
from_codeset |
source codeset |
Returns:
a "conversion descriptor", or (GIConv)-1 if opening the converter failed. |