Changed string encoding/latin1 to cover whole file.