changed output file encoding