getCodeset

fnstring getCodeset()

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.global.gfree].