Method

GtkSourceFileget_encoding

Declaration

const GtkSourceEncoding*
gtk_source_file_get_encoding (
  GtkSourceFile* file
)

Description

The encoding is initially NULL. After a successful file loading or saving operation, the encoding is non-NULL.

Return value

Returns: GtkSourceEncoding
 

The character encoding.

 The data is owned by the instance.