Table 74 describes the encoding keys in the [Environment] section of SQR.INI. All of these encoding settings will accept as valid values any of the encoding literals. Any encoding can be specified for any encoding setting entry.
Table 74. Encoding Keys in the [Environment] Section
The following is an example of encoding settings in the [Environment] section:
[Environment:Common] Encoding=ISO-8859-1 Encoding-File-Output=Greek Encoding-File-Input=Shift-Jis Encoding-Report-Output=UCS-2 Encoding-database=utf-8 Encoding-console=ascii Encoding-SQR-Source=ucs-2
If these keys are not specified, encodings default to ASCII. The Encoding setting, which specifies the default encoding, can be overridden by the other encoding settings.
As with other [Environment] section settings, Production Reporting first checks the [Environment] section of its database type and then checks the [Common Environment] section. For example, an ODBC version of Production Reporting first checks the [Environment:ODBC] section of SQR.INI for a setting and, if not found, then checks the [Environment:Common] section.
To access these encoding settings within an Production Reporting program, use the following reserved variables.