On 12/12/06 12:09 AM, "Chris Sheffield" <[EMAIL PROTECTED]> wrote:

Hi Chris,

> 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?

If file follow unicode rules, it have special signature on start

I did not hear about such ability define kind of file..

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to