Page 1 of 1

Binary comparison before text comparison

Posted: Wed Apr 14, 2021 6:22 am
by qangela
Hi,

I'm testing a demo of the ExamDiff Pro and have a question.

I selected to ignore all white spaces for Text Compare and to always treat TXT files as text, but if I open 2 txt files with identical text and not identical file size (due to spaces) via the command line, ExamDiff says: "Identical text files". While I want to know if these files are binary identical. How can I enforce the binary comparison before the text comparison for TXT files that I want to treat as text files?

Thanks

Re: Binary comparison before text comparison

Posted: Wed Apr 14, 2021 8:19 am
by psguru
I'm not sure what exactly you are trying to do. If you want EDPro to compare twice with different options, it's going to be done by you.

Re: Binary comparison before text comparison

Posted: Wed Apr 14, 2021 11:46 am
by MSpagni
If you select "always treat TXT files as text" then obviously EDP compares them as text and, if you select ignore all white spaces, the two files are detected as equal even if binarily different.
If you want to perform (also) a binary comparison you can do many things.

I suggest to start by letting EDP comparing as per default, then switching to the other way by typing <ctrl>Q or clicking the relevant button on the toolbar or selecting "Files->Toggle text/binary comparison".

How often I use the keyboard or my toolbar to change the options!
There's no one single solution that fits all.

Re: Binary comparison before text comparison

Posted: Sat Apr 17, 2021 4:00 pm
by Alpengreis
Hello

But if I let the QUICK OPTIONS in Compare Dialog to AUTOMATIC, then the default setting is compare TXT files as text (without any changes in "real" options). Then, after a Ctrl+Q the compare is made in binary. After closing EDP it does automatically compare as text again (via Compare Dialog) ... at least that's the case with current beta 12.

Re: Binary comparison before text comparison

Posted: Sat Apr 17, 2021 4:06 pm
by psguru
To make it stick you need to change the mentioned option.