[fpc-devel] Unit for handling UTF-8 strings

Kostas Michalopoulos badsectoracula at gmail.com
Sun Apr 7 20:14:40 CEST 2013

On Sun, Apr 7, 2013 at 5:59 PM, Mattias Gaertner
<nc-gaertnma at netcologne.de>wrote:

> On Sun, 7 Apr 2013 13:35:40 +0200
> Kostas Michalopoulos <badsectoracula at gmail.com> wrote:
> >[...]I looked around in FPC 2.6.2's units and found nothing beyond
> > utf8encode/decode (which in linux requires a C widestring manager that
> i'd
> > like to avoid... and doesn't really help in all cases since Unicode can
> > exceed the 16bit range).
> It does not require a widestring manager.
The documentation says otherwise:
"For this function to work, a widestring manager must be installed."

> See for example the Lazarus lazutf8 unit.
> AFAIK there are no UTF16 functions either.
> Lazarus provides a lazutf16 unit too.
Is there a reason for those to be in Lazarus only? Can they be moved to FPC?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130407/42a180e5/attachment.html>

More information about the fpc-devel mailing list