The OS/2 subsystem typically inherits the NLS parameters (such as language, country code, and code page) from the parent process. If any of the NLS commands from OS/2 CONFIG.SYS exist, these values will supersede the Windows NT values.
The following OS/2 NLS commands are supported by Windows NT:
Table C.4 OS/2 NLS Commands
Command | Used to |
codepage | Specify one or two code pages that the OS/2 subsystem has set up for use as its primary and secondary code pages. |
country | Specify the country code. |
devinfo | Identify the keyboard layout selection. This defines the keyboard layout table for translating keystrokes into characters encoded according to a code page based on ASCII. |
If no COUNTRY entry is found in the Registry, the OS/2 subsystem takes the current locale country code for each OS/2 application, inherited from the application's parent process.
If the Registry includes a COUNTRY entry but no CODEPAGE entry, the subsystem uses the default code page for the current country. If neither line is present, the subsystem uses the Windows NT primary OEM code page.
If no DEVINFO entry is found, the subsystem uses the default keyboard layout for the country.