set_encoding


Description:

public void set_encoding (Encoding? encoding)

Sets the encoding.

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

By default the encoding is taken from the File.

Parameters:

this

a FileSaver.

encoding

the new encoding, or null for UTF-8.