Author Topic: Goofy message from Diff  (Read 373 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1825
  • Hero Points: 177
  • Text
Goofy message from Diff
« on: September 17, 2018, 10:14:17 pm »
This message is confusing.
The 2 files have different encoding - clear enough.
But, I am always confused what Slick is asking me here - I never know what I should pick - very confusing.

+1: Even though there is no "help" button, hitting F1 in this dialog jumps to "Encoding" in the help file!

#1:
So what is it asking?
Which file is "your file"?
What the encoding is of ping, or pong?

#2:
Since the "Encoding" drop down includes a zillion choices, what if I pick something like "US-ASCII":
Are both files converted to US-ASCII before the conversion?
Empirically: Seem to convert Pong.txt to US-ASCII, then does the comparison in unicode??

#3:
Since Slick knows ping.txt is unicode, why does it need to ask me what encoding to convert to?
Can't it simply do the conversion?


File Encoding
C:\src\ping.txt is a unicode file and C:\src\pong.txt is not.
 C:\src\pong.txt must be temporarily converted to a unicode file.
 Select the current Unicode encoding of your file so the other file can be converted to the same Unicode format and compared.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4893
  • Hero Points: 398
Re: Goofy message from Diff
« Reply #1 on: September 18, 2018, 02:37:23 am »
Most of the time, SlickEdit can automatically convert the files to Unicode. As a precaution, SlickEdit prompts to be sure things are being done correctly or even make sense.

 Once you are lost, you should probably convert the files manually somehow so SlickEdit doesn’t prompt you and thinks the encodings are the same.