Changed encoding of input and output files to ISO-8859-1 (Latin1).