SourceEncoding
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gtk_source_encoding_get_type ()" ) ]
[ Compact ]
[ GIR ( name = "Encoding" ) ]
public class SourceEncoding
Content:
Static methods:
- public static SList<unowned SourceEncoding> et_all ()
- public static unowned SourceEncoding et_current ()
- public static SList<unowned SourceEncoding> et_default_candidates ()
- public static unowned SourceEncoding? et_from_charset (string charset)
- public static unowned SourceEncoding et_utf8 ()
- public static SList<unowned SourceEncoding> get_all ()
Gets all encodings.
- public static unowned SourceEncoding get_current ()
Gets the SourceEncoding for the current
locale.
- public static SList<unowned SourceEncoding> get_default_candidates ()
Gets the list of default candidate encodings to try when loading a
file.
- public static unowned SourceEncoding? get_from_charset (string charset)
Gets a SourceEncoding from a character set
such as "UTF-8" or "ISO-8859-1".
- public static unowned SourceEncoding get_utf8 ()
Methods:
- public SourceEncoding copy ()
Used by language bindings.
- public void free ()
Used by language bindings.
- public unowned string get_charset ()
Gets the character set of the SourceEncoding
, such as "UTF-8" or "ISO-8859-1".
- public unowned string get_name ()
Gets the name of the SourceEncoding such as
"Unicode" or "Western".
- public string to_string ()