Previous Topic Next topic Print topic


RUNTIME-ENCODING

Determines the runtime encoding.

Syntax:

>>--.---.----RUNTIME-ENCODING--"encoding"-.-><

Parameters:

encoding
Possible values are:
ANSI
OEM
UTF-8

Properties:

Default: OEM
Phase: Syntax check
$SET Initial

Dependencies:

If this directive is not specified, the runtime encoding is determined by the SOURCE-ENCODING directive. In this case, if the source encoding is any of the possible UTF variants, the runtime encoding of PIC X data is always set to UTF-8.

Comments:

RUNTIME-ENCODING determines how strings are encoded into PIC X data and therefore does not include UTF-16 options.

Example:

$set RUNTIME-ENCODING"ANSI"
Previous Topic Next topic Print topic