in reply to
Distinguishing text from binary data
You could look at the perl implementation of the unix file utility. It is(was) part of the PPT project.
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (157 votes),