Reply 1140 of 2280, by skatz
- Rank
- Member
robertmo, i hope I may explain the case with Turkish layout:
When you specify some language code in keyb command without codepage DOSBox will select the first codepage defined for layout (for TR this is 857).
So after 'keyb tr' Turkish language and code page 857 are selected because all data are in dosbox.exe.
After 'keyb tr 437' DOSBox looks in data for TR layout and sees that it is described only for pages 857,853,858 and 850.
Hence there should be message 'No layout in tr for codepage 437'.
But here is an old bug in DOSBox: codepage displayed is not the page you try to set, but the current page of DOSBox. (Try 'keyb tr 850' and 'keyb tr 437' - and you will see the same message with another wrong codepage.)
BTW, 437 page is used as default when no language and page (or wrong ones) are set in config. If you set keyboard layout to auto (DOSBox default) then DOSBox tries to guess language from windows default keyboard. And if guess is successful then for some languages codepage is set to 437 (gr, sp, su, fr, it, nl, br, ru, sv, ur, sg, sf).