[Lazarus] TDBEdit shows 4 characters from a Char(1) field

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Aug 5 12:46:52 CEST 2008


On 8/5/08, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
>  I'm going to try and access the field without the TDBEdit control
>  (from code) to see what it's length is....


And this was the result:

  s = <a   > with length = 4


So it seems the issue is not in Lazarus, but SqlDB?  Maybe I should
raise this issue in the fpc-devel mailing list.  I'm first going to
read up a bit more on utf-8 support in Firebird 2 - maybe FB has some
strange behaviour.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list