[fpc-devel] UTF8 RTL

Sven Barth pascaldragon at googlemail.com
Wed Nov 19 17:18:15 CET 2014


Am 19.11.2014 14:46 schrieb "Marco van de Voort" <marcov at stack.nl>:
>
> In our previous episode, Sven Barth said:
> > Am 19.11.2014 11:39 schrieb "Mattias Gaertner" <
nc-gaertnma at netcologne.de>:
> > > The RTL on Windows now uses the "W" functions and the AnsiString and
> > > ShortString are encoded in CP_ACP. Changing the DefaultSystemCodePage
> > > to CP_UTF8 does the trick.
> >
> > AFAIK we don't use the "W" functions yet on non-CE Windows.
>
> As Jonas said, most file I/O does. File execution doesn't yet.
>
> Unit Windows can be built experimentally with -W default by defining
FPC_OS_UNICODE

Ah, right. So I mixed this up with the Windows unit :)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20141119/36c7e0d4/attachment.html>


More information about the fpc-devel mailing list