TStringField keeps only half of the typed data

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
atasoft
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 23.08.2014, 13:49

TStringField keeps only half of the typed data

Post by atasoft »

Hi,
I am using Zeos 7.1.3 stable in Lazarus 1.0.14 and I have the following problem:
In a TZQuery I use a persistent TSringField and I set its Size and DisplayWidth to 20. I have a DBEdit in a Lazarus form connected to the TStringField.

When I run the compiled program and i write English letters the DBEdit allows me correctly to write 20 characters.
If I write Greek (or other Unicode) characters, it allows me to write 20 characters but it keeps only the first 10 characters.
These is very annoying for the users.

Notice that the TZConnection component has these settings ClientCodePage=UTF8 and ControlsCodePage=cCP_UTF8. The database is SQLite3.

I will appreciate any help which will solve the above problem.

Best regards,
Andreas
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: TStringField keeps only half of the typed data

Post by EgonHugeist »

Have a look too http://sourceforge.net/p/zeoslib/tickets/58/
and i did post on http://forum.lazarus.freepascal.org/ind ... 574.0.html too

Wondering why. The ticket says in LCL everything is fine. I can't believe there is another issue except the display width..
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply