GetSystemLocale is a TIdCharset 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:
- Chinese - csBig5 or csGB2312 when SubLangID is SUBLANG_CHINESE_SIMPLIFIED
- Japanese - csIso2022jp
- Korean - csEucKR
- Default - csIso88591
For the Linux platform, GetSystemLocale uses the GSystemLocal variable to determine the character set for the local computer system.