Sign in Join
FPDoc Onlineexperiment

TCompilerMode.cmDelphiUnicode value

Member of TCompilerModeIn unit fpMkUnit

Delphi Unicode compatibility mode

Declaration

pascal
cmDelphiUnicode

Description

cmDelphiUnicode provides compatibility with modern Delphi versions that use Unicode strings by default. This mode matches Delphi's Unicode string handling and UTF-16 character support for enhanced internationalization. Specifying this mode passes -mDelphiUnicode to the compiler.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.