Internet Direct (Indy) Version 9.0.2 Beta
GetSystemLocale
Retrieves the character set for the local computer system.

function GetSystemLocale: TCharSet;
Returns
TCharset - Character set for the local computer system.

Description
GetSystemLocale is a TCharset function used to retrieve the character set for the local computer system.

For the Windows platform, GetSystemLocale uses the SysLocale values for PriLangID and SubLangID to determine the character set in use. On Windows, GetSystemLocale will return the following:

For the Linux platform, GetSystemLocale uses the GSystemLocal variable to determine the character set for the local computer system.