FileSaver.setEncoding

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

By default the encoding is taken from the #GtkSourceFile.

class FileSaver
void
setEncoding

Parameters

encoding gtksource.encoding.Encoding

the new encoding, or null for UTF-8.