Fixed input file encoding