Problem with dbf (TDbf) lazarus / 16-Databases ---------------------------------------------------------------------- zeljko · 2010-01-10 12:30 I'm using TDbf for special purposes (I have to ! for at least another 1 yr), but went into weird problem.Problem is with ftString field. Under linux everything is fine, but under win32 all ftString fields are cutted to 20 chars. fpc-2.4.1, lazarus r 23416. Anyone have such problem ? ---------------------------------------------------------------------- cdbc · 2010-01-10 18:13 hi UTF-8 issues?!? Regards Benny ---------------------------------------------------------------------- zeljko · 2010-01-11 07:59 Why UTF-8 issue ? I'm passing non UTF-8 string to dbf, and converting to UTF-8 while retrieving it. Under linux everything is fine, just windows makes problem. ---------------------------------------------------------------------- clauslack · 2010-01-11 11:36 And what is the length of ftString's field. ---------------------------------------------------------------------- zeljko · 2010-01-11 11:41 first time was 20, later I've tried with 0 and 255 but result is same. ---------------------------------------------------------------------- clauslack · 2010-01-11 12:45 If you can reproduce this in litle project (with the dbf file), Maybe I can help you, I have a system (in production) that export-import data from Dbf<->Firebird and work fine. Upload the project (without the lrs) - 4 kb compressed. Regards ---------------------------------------------------------------------- zeljko · 2010-01-13 19:32 I've fixed it by using ftWideString instead of ftString, now it works ok. Tnx for help.