skip to main content
Using the ODBC Client : Specifying ODBC Connection Attributes : IANAAppCodePage
 

IANAAppCodePage

Attribute

IANAAppCodePage (IACP)

Description

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. Valid values for this attribute are listed in Values for IANAAppCodePage Connection String Attribute.
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 ODBC Client does not find an IANAAppCodePage value, the ODBC Client uses the default value of 4 (ISO 8859-1 Latin-1).

Valid Values

IANA code page
The code page that you specify must be the same as the code page used by your application.

Default

4 (ISO 8859-1 Latin-1