Encoding.getCurrent

gtksource.encoding.Encoding getCurrent() static nothrow

Gets the #GtkSourceEncoding for the current locale.

See also funcGLib.get_charset.

Returns

the current locale encoding.