Fix encoding warnings.