Hello!
How can I change encoding of displayable text (ANSI/ASCII) when comparing files via "Compare By Content"
Thank you!
Encoding in "Compare By Content"
Moderators: Hacker, petermad, Stefan2, white
Sometimes Lister mistakes in autodetect encoding.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...
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...)
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.
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
Using TC 11.03 / Win10 x64
Ok, thank you! Problem was in the font - I just changed Character Group of the same font (from Western to Cyrillic).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.