encodings fixing