Take file encoding into account and report progress during conversion.