On Sat, 22 Jul 2006 12:35:58 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
>
> On Sat, 22 Jul 2006, Mattias Gaertner wrote:
>
> > // Delphi still cannot handle wide strings properly while streaming
> > Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText,
> > FDefaultText <> 'Node');
> >
> > The FCL TWriter has a problem too: It refuses to write empty
widestrings.
>
> This is not a 'problem' but a design decision: empty strings are never
written
> to stream. Delphi also does not write empty strings to stream; it's to
save space.
That was maybe the idea. And it works well as default behaviour.
But when you define a stored function, you want to fine tune, what is saved
and what not.
This 'design decision', if it was that, limits the possibilities without
gain and is inconsistent to other types.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives