reset file encoding