binary vs. text?

Chris Sheffield cmsheffield at gmail.com
Mon Dec 11 17:09:48 EST 2006


Does anyone have a sure fire way to determine if a file is binary or  
text?

I have need to create an import utility that will import data from a  
text file (csv, tab-delimited, etc) into a database, but I'd like to  
check the file before doing anything else just to make sure it is in  
fact text and not binary.

Any thoughts?

Thanks,
Chris


------------------------------------------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
------------------------------------------






More information about the use-livecode mailing list