[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Translations' (#lazutils)

SystemCharSetIsUTF8

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

Declaration

Source position: translations.pas line 187

var 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

UTF8ToSystemCharSet

  

Converts the specified UTF-8-encoded string to the character set for the system locale.


Version 3.4 Generated 2024-05-24 Home