I am using TeXworks to write documents, but as I am doing some stuff in spanish, accents are required. When I write
áéíóú
I get
áà c
If I do \'a \'e \'i \'o \'u
I get the desired result áéíóú
I have changed in Edit->preferences->Editor->Coding->ISO-8859-1 instead of UTF-8 but get the same results.
\usepackage[utf8]{inputenc}
in your document