Correct character in different file formats