Loading text in spanish

My problem isn’t to load the text, but to load the special characters like á, é, í, ó, ú, ñ… how do I do that.

Thank you all