While comparing a couple of PDF (without plugins) to see if they were identical I got the message: "Cannot assign special Unicode characters."
Clicking "ok" I finished having... nothing; empty panels.
Well, my idea was to make a BINARY comparison...
N.B. If I force a binary comparison then I get what I want, but I must force it
I think you can assume that if you get some odd Unicode codes then the file isn't (unicode) text but a binary one.
Am I wrong?
"Cannot assign special Unicode characters"
Re: "Cannot assign special Unicode characters"
Could you send your files to us via email or post them here? This is a pretty unusual message, and it will require some investigation.
psguru
PrestoSoft
PrestoSoft
Re: "Cannot assign special Unicode characters"
You can find it here: http://puppylinux.org/main/Puppy430-tut ... nglish.pdf
Simply compare this file with a copy of itself.
Simply compare this file with a copy of itself.
Re: "Cannot assign special Unicode characters"
Tried, could not reproduce the error. Could you post your options?
psguru
PrestoSoft
PrestoSoft
Re: "Cannot assign special Unicode characters"
Sure. Here is it.
- Attachments
-
- Options.zip
- (6.38 KiB) Downloaded 969 times
Re: "Cannot assign special Unicode characters"
Thanks. Well, the difference is that I was using the PDF lug-in, and you were not.
s so happens that, in the auto-detect text/binary mode, your file is considered a valid Unicode file by a Windows API. It is then treated as text by EDP, and, due to its characters, you got the reported error. I suggest to set *.pdf files to be forced as binary under Options | Compare | Advanced. If you want to compare PDF files as texts, enable the plug-in.
s so happens that, in the auto-detect text/binary mode, your file is considered a valid Unicode file by a Windows API. It is then treated as text by EDP, and, due to its characters, you got the reported error. I suggest to set *.pdf files to be forced as binary under Options | Compare | Advanced. If you want to compare PDF files as texts, enable the plug-in.
psguru
PrestoSoft
PrestoSoft
Re: "Cannot assign special Unicode characters"
Obviously you missed
I think this could be a standard setting.
While comparing a couple of PDF (without plugins)
Very good idea, thanks.I suggest to set *.pdf files to be forced as binary under Options | Compare | Advanced. If you want to compare PDF files as texts, enable the plug-in.
I think this could be a standard setting.
Re: "Cannot assign special Unicode characters"
Ehm... there is a problem.
I checked "Always treat these files as binary", then I wrote "*.pdf".
Of course "Automatically detect text/binary files" is still selected.
N.B. "Always treat these files as text" is unchecked.
I compare a couple of directories and, when I ask to compare a couple of files from the dir comparison pane, all my .c and .h files are compared as binary! (N.B. I only checked that kind of files. I don't know how it behaves with, e.g., .txt and others)
Did I something wrong?
I checked "Always treat these files as binary", then I wrote "*.pdf".
Of course "Automatically detect text/binary files" is still selected.
N.B. "Always treat these files as text" is unchecked.
I compare a couple of directories and, when I ask to compare a couple of files from the dir comparison pane, all my .c and .h files are compared as binary! (N.B. I only checked that kind of files. I don't know how it behaves with, e.g., .txt and others)
Did I something wrong?
Re: "Cannot assign special Unicode characters"
It's a bug. The fix will appear in the next build of 5.5.
psguru
PrestoSoft
PrestoSoft