Encoding.getCurrent

Gets the #GtkSourceEncoding for the current locale. See also [glib.global.getCharset].

Returns

the current locale encoding.