Encoding.getCurrent

gtksource.encoding.Encoding getCurrent() static nothrow

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

Returns

the current locale encoding.