Encoding in "Compare By Content"

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Irix
Junior Member
Junior Member
Posts: 3
Joined: 2005-01-28, 13:30 UTC

Encoding in "Compare By Content"

Post by *Irix »

Hello!

How can I change encoding of displayable text (ANSI/ASCII) when comparing files via "Compare By Content"

Thank you!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

U cant - why would you want to?
If you compare Textfiles they shown
as ASCII everything else is shown as
HEX|ASCII...
Hoecker sie sind raus!
Irix
Junior Member
Junior Member
Posts: 3
Joined: 2005-01-28, 13:30 UTC

Post by *Irix »

Sir_SiLvA wrote:U cant - why would you want to?
If you compare Textfiles they shown
as ASCII everything else is shown as
HEX|ASCII...
Sometimes Lister mistakes in autodetect encoding.
For example, I have ANSI filу but Lister inituially shows it as ASCII (abracadabra appears). So I must press "a" key for switching to ANSI font. Later I configured it to start as ANSI always.
But there is no such setting in "Compare by contents" windowses (but I think they use Lister engine). What should I do?

P.S. Do you know what algorithm of detecting text encoding Lister uses? I can't understand why it mistakes on some files (plain text...)
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

without an example text where he does so its hard to say :)

And WHAT do you do with pressing "a" in filecompare?
Hoecker sie sind raus!
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Irix
As far as I know, the "compare by content" function does not have any autodetect feature. ANSI/ASCII are just different fonts (they use different set of characters). So you should only select the font you need in "Compare by content" window, the button "Font". Select there Terminal font for displaying ASCII or some other fixed font (Lucida Console, Courier, Courier New and so on) for ANSI.

But this is real misfunction, sometimes it is needed to compare many pairs of files, they having different encodings. It is inconvenient to switch font every time. Something like pressing A/S (like in Lister) would be very convenient.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Irix
Junior Member
Junior Member
Posts: 3
Joined: 2005-01-28, 13:30 UTC

Post by *Irix »

Flint wrote:Irix
As far as I know, the "compare by content" function does not have any autodetect feature. ANSI/ASCII are just different fonts (they use different set of characters). So you should only select the font you need in "Compare by content" window, the button "Font". Select there Terminal font for displaying ASCII or some other fixed font (Lucida Console, Courier, Courier New and so on) for ANSI.

But this is real misfunction, sometimes it is needed to compare many pairs of files, they having different encodings. It is inconvenient to switch font every time. Something like pressing A/S (like in Lister) would be very convenient.
Ok, thank you! Problem was in the font - I just changed Character Group of the same font (from Western to Cyrillic).
Post Reply