Home |
RTTarget-32 Programming Manual Function RTSetCodepageTranslation Function RTInsertKeyboardScanCode System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTSetCodepageTranslationFunction RTSetCodepageTranslation installs a new input code page. It supplies a translation table used to map 16-bit Unicode keyboard input character values to 8-bit ASCII values: void RTSetCodepageTranslation(RTKeyTable * Table); Unicode values not found in the table will merely be truncated to 8 bits. By default, functions ReadConsoleInputA and PeekConsoleInputA use code page 437 (OEM code page) mapping, just like Windows NT/2000 for console mode programs. However, RTPEG-32 will change the input code page to 1252 (ANSI), which is largely identical to Unicode. Function RTInsertKeyboardScanCode
|