Setting the File Kind for the JadeXMLDocument Class writeToFile Method

The JadeXMLDocument class now provides the setFileEncoding method, which has the following signature.

setFileEncoding(kind: Integer; unicodeBom: Boolean) updating;

This method sets the file kind and Unicode Byte Order Mark (BOM) to be used when the writeToFile method is called. If the setFileEncoding method is not called, the encoding of the file is native ANSI or Unicode.