Accents in Text Input

Also, I’ve tried using the code component written by @dvbridges from here, but it is not working either. I guess that I need to change something so I can type those characters. Normally, in my keyboard I press the apostrophe key (or ‘\xb4’) and then when I press any vowel it appears the special character (e.g., á, é, í, ó, ú).

If anyone knows how I can solve this, I would appreciate it very much. I’ve been going crazy for weeks.

Thank you!

Yeray.