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 eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (397 votes). Check out past polls.