SetOutputCharacterSet

SetOutputCharacterSet lets you specify the character set to be used when writing to a text file using TextOutput in a TurboIntegrator process.

This function is valid in TurboIntegrator processes only.

SetOutputCharacterSet should precede the TextOutput function in the process procedure (Prolog, Metadata, Data. Epilog) where the TextOutput function appears. For example, if you want to write to a text file using TextOutput in the Data procedure, you should first use SetOutputCharacterSet to specify the character set in the Data procedure.

Syntax

SetOutputCharacterSet( FileName, CharacterSet );

Argument

Description

FileName

A full path to the text file for which you want to specify a character set. The path must include a file extension.

This argument should be identical to the FileName argument for the TextOutput function.

CharacterSet

The character encoding to use when writing to the output file.

For more information on the valid values for CharacterSet, see SetInputCharacterSet.