As illustrated in the figure above, each VA Smalltalk locale name corresponds to an ordered pair of integers representing an OS/2 country code and OS/2 code page. Table 55 defines the mappings from VA Smalltalk locale definitions to country code and code page pairs. Locales that are not directly supported by the operating system are marked with a horizontal bar and are not available on OS/2.For OS/2 Presentation Manager, the platform locale information is a combination of values retrieved from the operating system and the country control panel settings. When the platform default locale is requested (for example, LCMonetary for: #(' ')), values are taken from the country control panel settings. When information for a specific locale is requested (for example, LCMonetary for: #('english' 'us')), the default values for that locale are obtained from the operating system, even if the locale requested is the same as the platform default locale.The country control panel setting for monetary leading zero is not supported and is ignored on OS/2.
Changing the current country using the country control panel does not change the platform default locale. The platform default locale is defined by the config.sys file and can be modified using the OS/2 selective install.
|