Page 1 of 1

Zeos+Fb 2.5+ win1250 problem

Posted: 16.02.2019, 21:28
by k1attila12
Hi

I try to use in my application FB2.5 with win1250 cp.

But in dbedit i have problem.
When i type the text everything is OK, but when i leave the dbedit something go wrong.
See attachments.

Any idea ? What is wrong ?

Thank you in advance.
Attila

Re: Zeos+Fb 2.5+ win1250 problem

Posted: 17.02.2019, 12:31
by marsupilami
Hello,

to me that Looks like some kind of an Encoding issue. Which Version of Delphi / Lazarus + FPC do you use? Do you really use Zeos 7.1?
Best regards,

Jan

Re: Zeos+Fb 2.5+ win1250 problem

Posted: 18.02.2019, 06:08
by k1attila12
Hi

I use zeos 7.2 and Lazarus 1.8 (Win10), Firebird 2.5-win1250 cp, but it is an old problem.
It emerge very rarely, only some character combinaton cause this problem.

Now i solved this problem, I pumped all data to an UTF8 database.

I think the root of the problem is similar to http://zeoslib.sourceforge.net/viewtopic.php?t=4779

Thank you Attila

Re: Zeos+Fb 2.5+ win1250 problem

Posted: 19.02.2019, 12:21
by marsupilami
Hello,

with Lazarus you should always use ClientCodepage=UTF8. This will make the server convert your codepage to the correct encoding. The database Codepage doesn't matter in that case.
Best regards,

Jan