Delphi 7 is my IDE.
I use zeos 7.2.4 stable to connet Sybase ASE 12.5 by 'FreeTDS_Sybase-10+'
My database string columns encode cp866 ("rus for dos")
Client use encode cp1251 ("rus for windows")
My settings for connection:
Code: Select all
object ZConnection1: TZConnection
ControlsCodePage = cGET_ACP
AutoEncodeStrings = False/True (no matter)
ClientCodepage = 'cp1251'
Properties.Strings = (
'codepage=cp1251'
'controls_cp=GET_ACP')
...
Protocol = 'FreeTDS_Sybase-10+'
When I use another driver (Protocol = 'sybase') evrything is ok.
Code: Select all
object ZConnection2: TZConnection
ControlsCodePage = cGET_ACP
AutoEncodeStrings = False
ClientCodepage = 'cp1251'
Properties.Strings = (
'codepage=cp1251'
'controls_cp=GET_ACP')
...
Protocol = 'sybase'
Thanks for any help