When using an ODBC client connection to a Sybase 9.0.2 database, the question mark '?' was used as a substitution character if a string contained characters that were incompatible with the database character set. From my experience, the substitution seems to be done by the ODBC driver.
On Sybase 10 and later, it seems like the SUB character (0x1a) is used instead. Although the SUB character makes more sense, it is causing problems for some of our legacy applications.
Do you know of a way to (preferably client-side) change the substitution character used in case of character conversion errors?
Any feedback is highly appreciated!