Size of String fields with ZEOS lazarus / 16-Databases ---------------------------------------------------------------------- Mando · 2011-02-21 18:03 Hi. I want to set maxLenght of the DBEdit in a form. I used Zeos with a firebird UTF8 database. When I get the size of the field, the result is 4*actual size of the field. I defined a char field with length 6, but field.size returns 24. I must divide by 4 to get the actual size of the field. Why this behaivor?  Is it because database uses UTF8? regards. ---------------------------------------------------------------------- Lacak2 · 2011-02-22 05:24 I think, that answer is yes. But this is not good IMO. Size should be equal to your SQL column definition = "character length" DataSize should be "byte length"