AbstractUsed by language bindings.
Gets the character set of the GtkSource.Encoding, such as "UTF-8" or "ISO-8859-1".
the character set of the GtkSource.Encoding.
Gets the name of the GtkSource.Encoding such as "Unicode" or "Western".
the name of the GtkSource.Encoding.
a string representation. Free with g_free() when no longer needed.
Staticget_Staticget_Gets the GtkSource.Encoding for the current locale.
See also GLib.get_charset.
Staticget_Gets the list of default candidate encodings to try when loading a file.
See FileLoader.set_candidate_encodings.
This function returns a different list depending on the current locale (i.e. language, country and default encoding). The UTF-8 encoding and the current locale encoding are guaranteed to be present in the returned list.
Staticget_Gets a GtkSource.Encoding from a character set such as "UTF-8" or "ISO-8859-1".
a character set.
Staticget_
Character encoding.
The GtkSource.Encoding boxed type represents a character encoding. It is used for example by GtkSource.File. Note that the text in GTK widgets is always encoded in UTF-8.