As mentioned above, auto-detecting the encoding of a file may fail onsome encodings. If you know that Geany doesn't open a certain file,you can add a special line to the beginning of the file to force anencoding when opening the file (for details see below).