I have bought a new keyboard. Unlike the old one, which had a US international layout, this one has a Dutch layout.
With the setting I have now I can get it to work properly.
My current setup is:
CODEPAGE=866,850
COUNTRY=007,C:\OS2\SYSTEM\COUNTRY.SYS
DEVINFO=KBD,nl,C:\OS2\KEYBOARD.DCP
SET LANG=nl_NL_EURO
I use this to be able to use Russian in both vio and pm.
The problem I have is that I can set 850 as primary codepage. In vio sessions that's not a big deal, a chcp 850 takes care of that. In PM sessions, even when I set the codepage to 850 in the properties language tab, it still seems to use 866 because the keyboard will not produce euro sign or accents. If I start e.exe with a .cmd file with the lines:
chcp 850
e.exe
It all works as it should. I am puzzled by this. Why doesn't the properties setting do the same?
What I would like best is to have 850 as the primary codepage, but that would probably mean an overhaul of keyboard.dcp. Is it possible to do a system wide chcp somehow before the pm comes up?