Function

GLibget_codeset

Declaration [src]

gchar*
g_get_codeset (
  void
)

Description [src]

Gets the character set for the current locale.

Return value

Returns: gchar*
 

A newly allocated string containing the name of the character set. This string must be freed with g_free().

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.