[fpc-pascal] Unicode chars losing information

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Mar 9 09:53:46 CET 2021


On Tue, 9 Mar 2021 08:04:54 +0100
Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:

>[...]
> FPC is not Java. In FPC you have more fine-grained control over the
> resulting binary than "install big, fat runtime". Not to mention that
> FPC can target resource constrained systems as well.

Optional is good.

Maybe the defaults can be changed. For example the macOS dmg and
Linux-x86-64 debs/rpms could install an fpc.cfg containing

#ifndef FPNonUnicode
-Facwstring
-Fcutf-8
#endif

For minimal programs pass -dFPNonUnicode

Mattias


More information about the fpc-pascal mailing list