setNativeOutput()

The textReport.setNativeOutput() function specifies whether the report should be output in UNICODE (value of NO) or in a native character set (default value of YES).

Use the textReport.isNativeOutput() function to retrieve this value.

Syntax

  textReport.setNativeOutput(native BOOLEAN in)
textReport
The name of a variable that is based on the TextReport external type.
native
One of the following values:
YES (the default)
The report is output in the appropriate native character set for the environment, either ASCII or EBCDIC.
NO
The report is output in the UNICODE character set.

Example

The following example ensures that the report uses the native character set:

myReport TextReport = new TextReport();
...
if( !(myReport.isNativeOutput()))
	myReport.setNativeOutput(YES);
end

Feedback