'%1' cannot be used as the encoding specification for '%2' data

Error constant SQLE_INVALID_OPENSTRING_ENCODING
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The encoding that has been specified
Parameter 2 The data type for which the encoding has been specified
Severity 16
SQLCODE –1144
SQLSTATE WC017
Sybase error code 13368
Probable cause

The specified encoding cannot be used for interpreting the given data. For CHAR data, the encoding must be the database's CHAR character encoding and for NCHAR data, it must be the database's NCHAR character encoding.