modify the file encoding