setOutputFileEncoding

setOutputFileEncoding(fileKind: Integer; unicodeBOM: Boolean);

The setOutputFileEncoding method of the JadeReportWriterReport class sets the file kind and Unicode Byte Order Mark (BOM) of the output file that is created.

The setOutputFileEncoding method parameters are listed in the following table.

Parameter Description

fileKind

Contains the kind of file that is to be output, represented by one of the following constant values.

  • 0 (Native); that is, existing ANSI or Unicode behavior

  • File.Kind_ANSI (2), only if an ANSI system

  • File.Kind_Unicode (3), only if a Unicode system

  • File.Kind_Unicode_UTF8 (8), Unicode Transformation Format (UTF) 8 bit

unicodeBOM

Specifies whether a Unicode BOM is present in the file, represented by the File class unicodeBOM property.

Applies only if File.Kind_Unicode_UTF8 is specified for the fileKind parameter.

2022.0.01 and higher