FileSaver.setEncoding
void setEncoding(gtksource.encoding.Encoding encoding = null)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 | the new encoding, or null for UTF-8. |