[fpc-devel] UTF8 RTL

Marco van de Voort marcov at stack.nl
Wed Nov 19 14:45:35 CET 2014

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

More information about the fpc-devel mailing list