Size and DisplayWidth with UTF8
Posted: Mon 28 Dec 2009 15:54
Hello,
I have a Firebird 2.1 database, and I have noticed that UTF8 TStringField.Size and DisplayWidth are expressed in bytes and not characters. So, a varchar(100) has both Size and DisplayWidth set to 400.
Is this normal, and if so how do I get the character length of string fields?
Thanks
--
Nando
I have a Firebird 2.1 database, and I have noticed that UTF8 TStringField.Size and DisplayWidth are expressed in bytes and not characters. So, a varchar(100) has both Size and DisplayWidth set to 400.
Is this normal, and if so how do I get the character length of string fields?
Thanks
--
Nando