/* Returns: a newly allocated string containing the name of the character set. This string must be freed with g_free().  */
gchar* g_get_codeset(void)
/* Returns: a newly allocated string containing the name of the character set. This string must be freed with g_free().  */
gchar* g_get_codeset(void)
{
  const gchar *charset;
  g_get_charset (&charset);
  return g_strdup (charset);
}