Problems with encoding
Posted: 23.04.2019, 18:35
Hello!
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:
but no decode apply.
When I use another driver (Protocol = 'sybase') evrything is ok.
Is there a way to make Protocol = 'FreeTDS_Sybase-10+' do the same for me.
Thanks for any help
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