[fpc-pascal] cwstrings unit and UTF8Decode()
Michael Van Canneyt
michael at freepascal.org
Fri Mar 25 14:01:07 CET 2016
On Fri, 25 Mar 2016, Felipe Monteiro de Carvalho wrote:
> On Fri, Mar 25, 2016 at 1:20 PM, Bart <bartjunk64 at gmail.com> wrote:
>> If you're using LazUtf8 (or use LCL) then cwstring will be used in your app.
>> And I guess that Utf8ToUtf16 from Lazutf8 does not depend on a WS
>> manager, but I may be terribly wrong about that.
>
> As far as I remember, lazutf8 doesn't depending on cwstring for
> (most?) of its funcionality.
Look at the sources
uses
{$IFDEF UTF8_RTL}
{$ifdef unix}
cwstring, // UTF8 RTL on Unix requires this. Must be used although it pulls in clib.
{$endif}
Michael.
More information about the fpc-pascal
mailing list