update file encodings