In order to fix the issue, I recommend downloading and installing a Spanish keyboard from Software Informer database. Alternatively, you can use some key combinations to type the characters you want:
á = Alt + 0225
é = Alt + 0233
í = Alt + 0237
ó = Alt + 0243
ú = Alt + 0250
ñ = Alt + 0241
ü = Alt + 0252
¡ = Alt + 0161
¿ = Alt + 0191
You need to press the Alt key and to type using the numeric keypad from the right side of your keyboard above the numbers.