Used by language bindings.
Gets the character set of the #GtkSourceEncoding, such as "UTF-8" or "ISO-8859-1".
Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".
Gets the list of default candidate encodings to try when loading a file. See gtk_source_file_loader_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.
Used by language bindings.