Mapping From WIN32 Locale Item To OS/2 Locale Item

Mapping From WIN32 Locale Item To OS/2 Locale Item

Basically, each WIN95 locale type (LCTYPE) of information is mapped to an OS/2's ULS locale category/class of information. The ULS information in the following table can be retrieved via UniQueryLocaleInfo or UniQueryLocaleItem depending on the type of the information. If there's no corresponding information in ULS locale database but in OS/2 legacy country information, then Open32 retrieves the information from OS/2 kernel by calling DosQueryCtryInfo with the country code and codepage that are prepared in Open32 table. (These country code and codepage value are also used for WIN95's LOCALE_IDEFAULTCOUNTRY and LOCALE_IDEFAULTCODEPAGE emulation.) If there's applicable mapping to ULS nor OS/2 legacy country information, in other words, if the locale type is WIN95 unique, Open32 has a particular table for the locale type for all locales supported by Open32.

The second column in the table shows the values for the default French locale of WIN95, which is shown there for the reader to understand the meaning of the leftmost LCTYPEs.

Legend: