On Wed, 9 Mar 2016 20:35:52 -0300
Daniel Gaspary <dgasp...@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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to