gmime-charset

Name

gmime-charset -- 

Synopsis



void        g_mime_charset_init             (void);
const char* g_mime_charset_locale_name      (void);
const char* g_mime_charset_name             (const char *charset);

Description

Details

g_mime_charset_init ()

void        g_mime_charset_init             (void);

Initializes the locale charset variable for later calls to gmime_charset_locale_name. Only really needs to be called for non- iso-8859-1 locales.


g_mime_charset_locale_name ()

const char* g_mime_charset_locale_name      (void);

Gets the user's locale charset (or iso-8859-1 by default).

Returns :the user's locale charset (or iso-8859-1 by default).


g_mime_charset_name ()

const char* g_mime_charset_name             (const char *charset);

Attempts to find an iconv-friendly charset name for charset.

charset : charset name
Returns :an iconv-friendly charset name for charset.