in reply to Some binary wisdom needed

Is there a way of detecting whether a file is of binary type before opening it?

Before opening, eh? Sure!

  1. Remove you shoes
  2. Dip a toe into the file
  3. Look at you toe. If you see a bunch of Zeroes and Ones, then it's binary

HTH