[Lazarus] TDBEdit shows 4 characters from a Char(1) field
Martin Schreiber
fpmse at bluewin.ch
Tue Aug 5 13:32:33 CEST 2008
On Tuesday 05 August 2008 13.12:02 Martin Schreiber wrote:
>
> Firebird returns the storage size in bytes and not the character length as
> field size. MSEgui DB components convert from utf-8 or the system encoding
> to widestring while fetching the field data. The field character length is
> get from Firebird metadata and applied to tmsestringfield as field size for
> 16 bit characters.
> You are right, this does not work for Klingon. :-)
>
Correction:
MSEgui stores string data in dataset as variable length strings (widestrings),
because there is no fix storage size for strings in tmsebufdataset it should
work for Klingon too. :-)
Martin
More information about the Lazarus
mailing list