unsigned int db_change_char_charset( SQLCA * sqlca, char * charset );
sqlca A pointer to a SQLCA structure.
charset A string representing the character set.
1 if the change is successful; 0 otherwise.
Changes the application's CHAR character set for this connection. Data sent and fetched using DT_FIXCHAR, DT_VARCHAR, DT_LONGVARCHAR, and DT_STRING types are in the CHAR character set.