IANAAppCodePage
- Last Updated: October 7, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Cloudera Impala 7.1
- dBase 7.1
- Flat files/Text 7.1
- MySQL 7.1
- Pervasive (Btrieve) 7.1
- XML 7.1
- Documentation
Attribute
IANAAppCodePage (IACP)
Purpose
An Internet Assigned Numbers Authority (IANA) value. You must specify a value for this option if your application is not Unicode‑enabled or if your database character set is not Unicode. The value you specify must match the database character encoding and the system locale.
The driver uses the specified IANA code page to convert "W" (wide) functions to ANSI.
The driver and Driver Manager both check for the value of IANAAppCodePage in the following order:
- In the connection string
- In the Data Source section of the system information file (odbc.ini)
- In the ODBC section of the system information file (odbc.ini)
If the driver does not find an IANAAppCodePage value, the driver uses the default value of 4 (ISO 8859-1 Latin-1).
Valid Values
IANA_code_page
where:
- IANA_code_page
-
is one of the valid values listed in IANAAppCodePage values in the Progress DataDirect for ODBC Drivers Reference. The value must match the database character encoding and the system locale.
Notes
Refer to Internationalization, localization, and Unicode in the Progress DataDirect for ODBC Drivers Reference for details.
Default
4 (ISO 8559-1 Latin-1)