binary vs. text?

Ruslan Zasukhin sunshine at
Mon Dec 11 17:15:58 EST 2006

On 12/12/06 12:09 AM, "Chris Sheffield" <cmsheffield at> 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

[I feel the need: the need for speed]

More information about the Use-livecode mailing list