RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.GetLocaleChar Function

Retrieves the first character of a localisation value.

Pascal
function GetLocaleChar(Locale: Integer; LocaleType: Integer; Default: Char): Char; platform;
C++
Char GetLocaleChar(int Locale, int LocaleType, Char Default);

SysUtils

GetLocaleChar retrieves the first character of the passed LocaleType value, or the passed Default value if not found. The actual value is determined by the location specified by Locale. For example, on Windows, $0809 is the Locale for United Kingdom English, and $0409 is the Locale for US English. For the LOCALE_SCURRENCY LocaleType, these locales would yield '£' and '$' respectively.

Note: This is an OS specific function.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!