Detection of file encodings made easy