39 const char * dst_charset);
60 char * src,
int src_len,
61 char ** dst,
int * dst_len);
78 int * dst_len,
const char * dst_charset);
96 const char * src_charset);
105 wchar_t* cdio_utf8_to_wchar(
const char* str);
111 FILE* fopen_utf8(
const char* filename,
const char* mode);
Common type definitions used pervasively in libcdio.
bool cdio_charset_from_utf8(cdio_utf8_t *src, char **dst, int *dst_len, const char *dst_charset)
Convert a string from UTF-8 to another charset.
cdio_charset_coverter_t * cdio_charset_converter_create(const char *src_charset, const char *dst_charset)
Create a charset converter.
void cdio_charset_converter_destroy(cdio_charset_coverter_t *cnv)
Destroy a characterset converter.
bool cdio_charset_to_utf8(const char *src, size_t src_len, cdio_utf8_t **dst, const char *src_charset)
Convert a string from another charset to UTF-8.
char cdio_utf8_t
UTF-8 char definition.
Definition: types.h:234
bool cdio_charset_convert(cdio_charset_coverter_t *cnv, char *src, int src_len, char **dst, int *dst_len)
Convert a string from one character set to another.
struct cdio_charset_coverter_s cdio_charset_coverter_t
Opaque characterset converter.
Definition: utf8.h:29