Comment by GloriousCow

2 hours ago

DOS has the 'keyb' utility and 'keyboard.sys' to support different layouts, using various code pages.

If you have a CGA card, you're stuck with the code page of the ROM your card came with, which in most cases was code page 437, although a few variants were made.

EGA/VGA had software fonts so other code pages could be loaded.