Difference between revisions of "Unit Locale"
From Ultibo.org
(Created page with "Return to Unit Reference === Description === ---- ''To be documented'' === Constants === ---- ''To be documented'' === Type definitions === ---- ''To...") |
|||
Line 5: | Line 5: | ||
---- | ---- | ||
− | + | ||
+ | This unit implements the locale support for Ultibo and provides the code page support for the WideStringManager/UnicodeStringManager interface for the RTL. | ||
+ | |||
+ | |||
+ | This unit provides compatible implementations of the following functions: | ||
+ | |||
+ | <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> | ||
+ | * ConvertDefaultLocale | ||
+ | * EnumCodePagesProc | ||
+ | * EnumLocalesProc | ||
+ | * EnumTimeFormats | ||
+ | * GetCPInfo | ||
+ | * GetNumberFormat | ||
+ | * GetSystemDefaultLangID | ||
+ | * GetUserDefaultLangID | ||
+ | * IsValidLocale | ||
+ | * GetConsoleOutputCP | ||
+ | * EnumCalendarInfo | ||
+ | * EnumDateFormats | ||
+ | * EnumSystemCodePages | ||
+ | * EnumTimeFormatsProc | ||
+ | * GetCurrencyFormat | ||
+ | * GetLocaleInfo | ||
+ | * GetSystemDefaultLCID | ||
+ | * GetUserDefaultLCID | ||
+ | * SetLocaleInfo | ||
+ | * SetConsoleCP | ||
+ | * EnumCalendarInfoProc | ||
+ | * EnumDateFormatsProc | ||
+ | * EnumSystemLocales | ||
+ | * GetACP | ||
+ | * GetDateFormat | ||
+ | * GetOEMCP | ||
+ | * GetTimeFormat | ||
+ | * IsValidCodePage | ||
+ | * GetConsoleCP | ||
+ | * SetConsoleOutputCP | ||
+ | </div> | ||
+ | |||
+ | |||
+ | The following function are implemented by the Threads unit: | ||
+ | |||
+ | * GetThreadLocale (ThreadGetLocale) (GetThreadLocale is exposed in the Ultibo unit) | ||
+ | |||
+ | * SetThreadLocale (ThreadSetLocale) (SetThreadLocale is exposed in the Ultibo unit) | ||
+ | |||
+ | Most of the above are currently not implemented. | ||
+ | |||
+ | |||
+ | OEM Code Page defaults to 437 (OEM United States) | ||
+ | ANSI Code Page defaults to 1252 (ANSI Latin 1; Western European (Windows)) | ||
+ | |||
+ | |||
+ | See also: https://msdn.microsoft.com/en-us/library/windows/desktop/dd319081%28v=vs.85%29.aspx | ||
=== Constants === | === Constants === |
Revision as of 03:52, 19 August 2016
Return to Unit Reference
Description
This unit implements the locale support for Ultibo and provides the code page support for the WideStringManager/UnicodeStringManager interface for the RTL.
This unit provides compatible implementations of the following functions:
- ConvertDefaultLocale
- EnumCodePagesProc
- EnumLocalesProc
- EnumTimeFormats
- GetCPInfo
- GetNumberFormat
- GetSystemDefaultLangID
- GetUserDefaultLangID
- IsValidLocale
- GetConsoleOutputCP
- EnumCalendarInfo
- EnumDateFormats
- EnumSystemCodePages
- EnumTimeFormatsProc
- GetCurrencyFormat
- GetLocaleInfo
- GetSystemDefaultLCID
- GetUserDefaultLCID
- SetLocaleInfo
- SetConsoleCP
- EnumCalendarInfoProc
- EnumDateFormatsProc
- EnumSystemLocales
- GetACP
- GetDateFormat
- GetOEMCP
- GetTimeFormat
- IsValidCodePage
- GetConsoleCP
- SetConsoleOutputCP
The following function are implemented by the Threads unit:
- GetThreadLocale (ThreadGetLocale) (GetThreadLocale is exposed in the Ultibo unit)
- SetThreadLocale (ThreadSetLocale) (SetThreadLocale is exposed in the Ultibo unit)
Most of the above are currently not implemented.
OEM Code Page defaults to 437 (OEM United States)
ANSI Code Page defaults to 1252 (ANSI Latin 1; Western European (Windows))
See also: https://msdn.microsoft.com/en-us/library/windows/desktop/dd319081%28v=vs.85%29.aspx
Constants
To be documented
Type definitions
To be documented
Public variables
To be documented
Function declarations
To be documented
Return to Unit Reference