TStringField keeps only half of the typed data
Posted: 23.08.2014, 14:25
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
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