Page 1 of 1

Binary comparing

Posted: Fri Feb 05, 2021 3:44 am
by MSpagni
I was comparing two files .bin
I have "Automatically detect text/binary files" checked and "Always treat these files as binary" is empty.
I got this message:
Cannot assign special Unicode characters.
Of course, EDP tried to treat them as text.
Forcing the binary compare all is fine, but why a .bin file should be "text"?

Re: Binary comparing

Posted: Fri Feb 05, 2021 8:58 am
by psguru
Automatic detection doesn't always work, and extension .bin has no effect on it. Perhaps there's enough text characters in your files makes EDP think that your files are text files.

Re: Binary comparing

Posted: Fri Feb 05, 2021 10:53 am
by MSpagni
I think I saw ".bin" as one of the extensions used to force the binary compare.
Probably I put it there loooooooooong ago... and then by mistake I removed it.
I'll put it there again.

By the way: what do you mean with "assign special Unicode characters"?

Re: Binary comparing

Posted: Fri Feb 05, 2021 11:07 am
by psguru
It's an internal error that should be (and is) rarely seen by the user, and typically is a result of a binary file being compared as text. If you have a small pair of files where it's reproducible, we can have a look.

Re: Binary comparing

Posted: Fri Feb 05, 2021 11:54 am
by MSpagni
Just compare https://www.delta-elektronika.nl/upload ... _P0143.bin with itself (or a copy of it).