Encoding.getCurrent
gtksource.encoding.Encoding getCurrent()Gets the #GtkSourceEncoding for the current locale. See also [glib.global.getCharset].
Returns
the current locale encoding.
gtksource.encoding.Encoding getCurrent()Gets the #GtkSourceEncoding for the current locale. See also [glib.global.getCharset].