Last time I changed Delphi 2007 to 10.3Rio and I have problem with display polish letters from Firebird on DBGrid and Edits etc.
I have database with character set WIN1251and on Delphi 2007 it works ok with:
Code: Select all
object ZConnection1: TZConnection
ControlsCodePage = cGET_ACP
AutoEncodeStrings = False
Properties.Strings = (
'lc_ctype=WIN1250'
'controls_cp=GET_ACP')
Collation is not good but other things works for me ok.
When I compile the same project on Delphi 10.3 and connect to database I haven't polish signs.
I trying different settings and it not help me.
I can't change AutoEncodeStrings = False because always is True (on Delphi2007 is set to False).
In future I am planning change database to UTF8 but now I need to work on existing database WIN1251.
I tested on ZeosLib 7.2.4 and 7.3.
Can somebody help me what I must to change or what settings to test.
Many thanks.
Robert