Method

GtkSourceFileSaverset_encoding

Declaration [src]

void
gtk_source_file_saver_set_encoding (
  GtkSourceFileSaver* saver,
  const GtkSourceEncoding* encoding
)

Description [src]

Sets the encoding. If encoding is NULL, the UTF-8 encoding will be set.

By default the encoding is taken from the GtkSourceFile.

Parameters

encoding GtkSourceEncoding
 

The new encoding, or NULL for UTF-8.

 The argument can be NULL.
 The data is owned by the caller of the function.