CharSet Connection Parameter [CS]

Specifies the character set to be used on this connection.

Usage

Anywhere

Default

The locale character set

Description

If you supply a value for CharSet, the specified character set is used for the current connection. CharSet=none disables character set conversion for the connection.

When unloading data, you can specify the character set using the CharSet connection parameter.

To avoid lossy character set conversions, avoid setting the CharSet connection parameter when using Unicode client APIs. Unicode client APIs include ADO.NET, OLE DB, and the iAnywhere JDBC driver. ODBC is also a Unicode client API when the wide (Unicode) functions are used.