Page 1 of 1

.hta fiiles identified as binary

Posted: Sat Mar 18, 2017 9:22 am
by rickier55
I'm trying to compare two .hta extension text files. I have compared them in the past, but they are now being reported as binary. But I've looked at them in text editor and they look fine. I have other .hta's in the same package that are working fine and these two used to work.

Any suggestion on what has caused them to be treated as binary now?

Thanks
Rick

Re: .hta fiiles identified as binary

Posted: Sat Mar 18, 2017 9:59 am
by psguru
Hard to tell without looking at the file. Your file may have a number of non-ASCII characters enough to be considered binary. Could you attach a sample here?

Re: .hta fiiles identified as binary

Posted: Sat Mar 18, 2017 2:27 pm
by MSpagni
I had the opposite problem: .exe files opened as text.
A bit surprising, but easily solved by adding *.exe to "always treat these files as binary".

Before you wonder: probably those files were not true windows executables but exec for a different O.S.; I don't remember exactly.