GLib.get_codeset
function get_codeset(): String { // Gjs wrapper for g_get_codeset() }
Gets the character set for the current locale.
- Returns
a newly allocated string containing the name of the character set. This string must be freed with GLib.free.