#include <locmap.h>
Static Public Methods | |
const char* | convertToPosix (uint32_t hostid, UErrorCode* status) |
Convert a Windows LCID number to an ICU locale name. More... | |
uint32_t | convertToLCID (const char* posixID, UErrorCode* status) |
Convert an ICU locale name to a Windows LCID number. More... | |
uint16_t | languageLCID (uint32_t hostID) |
Convert a Windows LCID number to a Windows language ID. More... | |
Static Protected Methods | |
void | initializeMapRegions (void) |
|
Convert an ICU locale name to a Windows LCID number. For instance, "en_US" will be return 0x0409.
|
|
Convert a Windows LCID number to an ICU locale name. For instance, 0x0409 will be return "en_US".
|
|
|
|
Convert a Windows LCID number to a Windows language ID. This removes the sort ID from the LCID. For instance, information about the modern sort verses traditional sort on Spanish is removed from the ID.
|