TDBGrid control missing OnDrawDataCell event lazarus / 16-Databases ---------------------------------------------------------------------- cgh_chen · 2010-11-05 00:19 my oracle database using 'GBK' charset. but the Lazarus using UTF8 for all text. So I need to convert GBK to UTF8. now I change TCustomDBGrid.DefaultDrawCell using AnsiToUTF8, can display chinese correct. If TDBGrid has OnDrawDataCell event, I can convert charset here. Thank you! ---------------------------------------------------------------------- Lacak2 · 2010-11-05 03:30 AFAIK people are often using TField.GetText (SetText) for this purpose. ---------------------------------------------------------------------- zhouyong · 2010-12-05 13:44 I rebuild fcl, I change member method of TStringField (getAsString, getAsVariant, setAsString, setAsVariant).  Write code OnGetText of TField is Complex.