[fpc-devel] Are LazUtils - XML units still necessary ?
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Mar 10 01:04:37 CET 2016
On Wed, 9 Mar 2016 20:35:52 -0300
Daniel Gaspary <dgaspary at gmail.com> wrote:
> Since FPC 3.00 has a new Unicode support I was wondering about that.
>
> AFAIK, support to Unicode(Or only UTF8?) was the main reason to the
> existence of the units Laz2_Dom, Laz2_XmlRead/Write, etc.
Both supports Unicode.
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.
Mattias
More information about the fpc-devel
mailing list