Encoding
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gtk_source_encoding_get_type ()" ) ]
[ Compact ]
public class Encoding
Character encoding.
The Encoding boxed type represents a character encoding. It is used for example by
File. Note that the text in GTK widgets is always encoded in UTF-8.
Content:
Static methods:
Methods:
- public Encoding copy ()
Used by language bindings.
- public void free ()
Used by language bindings.
- public unowned string get_charset ()
Gets the character set of the Encoding,
such as "UTF-8" or "ISO-8859-1".
- public unowned string get_name ()
Gets the name of the Encoding such as
"Unicode" or "Western".
- public string to_string ()