Zeos+Fb 2.5+ win1250 problem

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
k1attila12
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 26.03.2018, 10:50

Zeos+Fb 2.5+ win1250 problem

Post 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
You do not have the required permissions to view the files attached to this post.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Zeos+Fb 2.5+ win1250 problem

Post 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
k1attila12
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 26.03.2018, 10:50

Re: Zeos+Fb 2.5+ win1250 problem

Post 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
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Zeos+Fb 2.5+ win1250 problem

Post 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
Post Reply