Thank you Corion. My piece of text was saved in UTF-8. I couldn't get either command to work. I tried saving a text file in Western ISO Latin 1. Is that the same as Latin-1? Anyway I couldn't get that to work either.
Dumb question: if I pasted some error messages does that tell you everything you need to know?