[fpc-devel] Are LazUtils - XML units still necessary ?

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Mar 10 01:37:32 CET 2016


On Wed, 9 Mar 2016 21:25:39 -0300
Daniel Gaspary <dgaspary at gmail.com> wrote:

> On Wed, Mar 9, 2016 at 9:04 PM, Mattias Gaertner
> <nc-gaertnma at netcologne.de> wrote:
> > The main difference is they use UTF-8 strings instead of UTF-16
> > strings. This saves memory and avoid conversions when using UTF-8
> > strings in your application.
> > They also have some flags like xrfPreserveWhiteSpace, which preserves
> > indentation.
> 
> Thank you Mattias.
> 
> So.. Could the LazUtils Units replace the FCL-XML ones ?

Both are useful.
The FCL-XML units support more XML features and the above arguments
about memory and speed works the same if your application uses UTF-16
strings.

Mattias



More information about the fpc-devel mailing list