Sets the candidate encodings for the file loading. The encodings are tried in
the same order as the list.
For convenience, @candidate_encodings can contain duplicates. Only the first
occurrence of a duplicated encoding is kept in the list.
By default the candidate encodings are (in that order):
1. If set, the #GtkSourceFile's encoding. See gtk_source_file_get_encoding().
2. Depending on the current locale (language and country), a list of common
encodings are added. The UTF-8 encoding and the current locale encoding are
always present.
Sets the candidate encodings for the file loading. The encodings are tried in the same order as the list.
For convenience, @candidate_encodings can contain duplicates. Only the first occurrence of a duplicated encoding is kept in the list.
By default the candidate encodings are (in that order): 1. If set, the #GtkSourceFile's encoding. See gtk_source_file_get_encoding(). 2. Depending on the current locale (language and country), a list of common encodings are added. The UTF-8 encoding and the current locale encoding are always present.