This function supports the code page switching for the keyboard. It gets the current in-use code page.