Page 2 of 2

Re: How to detect file is binary or ascii?

Posted: 10 Oct 2013, 20:33
by joedf
with the help of this C implementation:
Spoiler
here is a rough copy of the implementation:
Spoiler
Here is the resulting function:

Code: [Select all] [Expand] [Download] (IsBinFile.ahk)GeSHi © Codebox Plus



Note: ASCII Extended char-set support has not been added yet.

cheers! ;)

Re: How to detect file is binary or ascii?

Posted: 12 Oct 2013, 15:15
by panofish
Holy Smokes Joe ... your a freakin genius!!! WELL DONE SIR!

Re: How to detect file is binary or ascii?

Posted: 12 Oct 2013, 19:23
by joedf
Thanks ;)