Sign in Join
FPDoc Onlineexperiment

SystemCharSetIsUTF8 variable

In unit Translations

Indicates whether the default system character is UTF-8 for the platform.

Declaration

pascal
SystemCharSetIsUTF8: Boolean = True

Description

The LCL interfaces expect UTF-8 as the default character encoding. If you do not use UTF-8, install a proper widestring manager and set this variable to False. The default value for the variable is True.

Used in the UTF8ToSystemCharSet routine. When set to False, the UTF8ToSys routine is called to transcode a native UTF-8 string value to the system character set.

See also

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