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

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • 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: 6823
  • Hero Points: 526
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.