Top |
gmime-iconv-utilsgmime-iconv-utils — High-level routines for converting text from one charset to another |
Functions
char * | g_mime_iconv_strdup () |
char * | g_mime_iconv_strndup () |
char * | g_mime_iconv_utf8_to_locale () |
char * | g_mime_iconv_utf8_to_locale_length () |
char * | g_mime_iconv_locale_to_utf8 () |
char * | g_mime_iconv_locale_to_utf8_length () |
Functions
g_mime_iconv_strdup ()
char * g_mime_iconv_strdup (iconv_t cd
,const char *str
);
Allocates a new string buffer containing str
converted to the
destination charset described in cd
.
[skip]
g_mime_iconv_strndup ()
char * g_mime_iconv_strndup (iconv_t cd
,const char *str
,size_t n
);
Allocates a new string buffer containing the first n
bytes of str
converted to the destination charset as described by the conversion
descriptor cd
.
[skip]
g_mime_iconv_utf8_to_locale ()
char *
g_mime_iconv_utf8_to_locale (const char *str
);
Allocates a new string buffer containing str
converted to the
user's locale charset.
g_mime_iconv_utf8_to_locale_length ()
char * g_mime_iconv_utf8_to_locale_length (const char *str
,size_t n
);
Allocates a new string buffer containing the first n
bytes of
str
converted to the user's locale charset.
g_mime_iconv_locale_to_utf8 ()
char *
g_mime_iconv_locale_to_utf8 (const char *str
);
Allocates a new string buffer containing str
in UTF-8.