[Lazarus] FCL DOM [vs] laz2_DOM, and more

Michael Van Canneyt michael at freepascal.org
Sun Jul 30 10:00:33 CEST 2017



On Sat, 29 Jul 2017, Marcos Douglas B. Santos via Lazarus wrote:

> Hi,
>
> Nowadays, we have full Unicode support in FPC.
> So, my question is: The units bellow is still necessary to use XML
> with Lazarus or we can use just the original provided by FCL?
>
> laz2_DOM
> laz2_XMLRead
> laz2_XMLWrite
> laz2_XMLCfg
> laz2_XMLUtils
> laz_XMLStreaming

The FPC units use UnicodeString (UTF16), the lazarus units use UTF8.
If the end result is used excluively in UTF8 strings, the lazarus version may be
faster as there will be less conversions.

Michael.


More information about the Lazarus mailing list