How to detect file is binary or ascii?

Get help with using AutoHotkey and its commands and hotkeys
User avatar
joedf
Posts: 6434
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: How to detect file is binary or ascii?

10 Oct 2013, 20:33

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! ;)
User avatar
panofish
Posts: 11
Joined: 04 Oct 2013, 09:20
Contact:

Re: How to detect file is binary or ascii?

12 Oct 2013, 15:15

Holy Smokes Joe ... your a freakin genius!!! WELL DONE SIR!
User avatar
joedf
Posts: 6434
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: How to detect file is binary or ascii?

12 Oct 2013, 19:23

Thanks ;)

Return to “Ask For Help”

Who is online

Users browsing this forum: FatCatsUnite, FidoGooL, theMilkToast and 70 guests