6.1.9 OEM Characters

Windows and Windows applications call the AnsiToOem and OemToAnsi functions to convert ANSI characters to OEM characters and OEM characters to ANSI characters. The functions allow Windows applications to prepare text for the MS-DOS environment.

The keyboard code page affects the translation of ANSI and OEM characters. The keyboard driver must adapt its translation tables for specific code pages by loading translation tables from the corresponding translation-table file. Windows specifies the translation table to load using the OEMANSI.BIN setting in the [Keyboard] section of the SYSTEM.INI file.