In our previous episode, Michael Van Canneyt said:
> >> Somehow Delphi 2009 must also be confronted with this, with their native
> >> unicode support. Hm.
> >
> > Afaik D2009 always works in 2 byte units. Surrogates are a problem of the
> > user I guess.
> >
> > I don't fully understand why this function must return exact characters and
> > not e.g. words.
> 
> TField.Size is the declared size in characters.

The question is if it still does in D2009. I doubt it. I think it is
encoding-base unit. (1 or 2)

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to