I need to connect a Sybase ASE database with a specific charset. I have data with a charset that cannot be read properly by the default charset of Sybase ASE. I know how to connect with "isqln -J" but what I need is a little more complicated. I have software that connects itself to an ASE database but it doesn't ask for a charset while establishing the connection, so it connects with the default charset.
What I want to ask is, are any of these options possible;
- Can I change the default charset of Sybase ASE (not the database charset - I tried changing it, didn't work)
- Can I track the connection so just before login (with login trigger etc.) I intercept the connection and change it to my needs (adding "-J" parameter maybe)
I tried changing the database's charset, system's charset, OEM charset, etc. none of these seem to work. The third-party software still connects the database with the default charset, so it cannot read the values with special characters properly