If your keyboard is typing wrong characters then you can solve it by the following way:

May be your keyboard language is set to different language because of which it types different characters then you want.

Go to “Control Panel“.

Click on “Region and Language

keyboardNow you will get the following dialog box.

keyboard2

Click on “Change Keyboards

keyboard3

Now check whether the language you want is there or not and it should be at the top. eg English is the language which I use and it is at the top.

If not then you can add the language, Click on “Add“.

keyboard4

Now if you want to add “English” then Select English and expand it.

Now you can select “US” and click on “Apply”and  “Ok“.

Now your keyboard should work fine.