It sounds as though you have a faulty keyboard but it's worth running an antivirus and malware scan. If you use Windows and type in more than one language check that the Language Bar is correctly set.
A third party program which lets you type non-Latin characters through a virtual keyboard and mouse may have malfunctioned, so if you use one of those disable or uninstall it temporarily to see if it has any effect on the problem.