Compare tool - support more encodings
Moderators: white, Hacker, petermad, Stefan2
Compare tool - support more encodings
I sometimes use the Compare tool as a file viewer - it allows me to show two files side by side and scroll the contents up and down synchronously.
However, the Compare tool supports only four encodings - ANSI plus three Unicode encodings. If one of the files is encoded in a code page other than the current system code page, it would be impossible to show that file correctly in the Compare tool, since there is no means to select the correct code page.
The Lister has an Encoding menu that includes some twenty code pages, it allows the user to select the proper code page for the file being viewed. It would be greatly helpful if these encodings are also supported in the Compare tool.
However, the Compare tool supports only four encodings - ANSI plus three Unicode encodings. If one of the files is encoded in a code page other than the current system code page, it would be impossible to show that file correctly in the Compare tool, since there is no means to select the correct code page.
The Lister has an Encoding menu that includes some twenty code pages, it allows the user to select the proper code page for the file being viewed. It would be greatly helpful if these encodings are also supported in the Compare tool.
Re: Compare tool - support more encodings
Add WinMerge as Compare tool and you have the full list of Encodings available.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Compare tool - support more encodings
...change script of font used for comparison.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Compare tool - support more encodings
Unfortunately this doesn't work, because this changes the encoding of both panels.
What I want is to be able to set the encoding of each panel individually, the same way as I can set the encoding of each Lister window, and set the encodings that the Lister provides, other than those included in the font intrinsically.
Re: Compare tool - support more encodings
Such an option is not provided by any compare tool I know.yong wrote: ↑2022-08-05, 03:18 UTCUnfortunately this doesn't work, because this changes the encoding of both panels.
What I want is to be able to set the encoding of each panel individually, the same way as I can set the encoding of each Lister window, and set the encodings that the Lister provides, other than those included in the font intrinsically.
I guess the reason is that not many people have files with a content to compare which are stored in different encodings.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Compare tool - support more encodings
I'm afraid I can't help you if you have problems with Chinese encodings.
I can only recommend to convert files with known encoding to Unicode. I use command line converters for files in Polish and Russian as I have many old files saved in ISO-8859-xx, DOS/OEM or even more exotic encodings. For single cases you can make conversion just changing encoding in Lister, than copy-and-pasting text to Notepad and saving it in Unicode.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Compare tool - support more encodings
Try Beyond Compare
You can change the encoding individually for each file.
I think it's the best comparison tool available.
You can change the encoding individually for each file.
I think it's the best comparison tool available.
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Compare tool - support more encodings
In most cases it makes no sense to use different encodings for the left and right file, because characters available e.g. in Western ANSI are not all available in Cyrillic ANSI etc. But you can change the encoding for both and then still compare an ANSI file with a Unicode file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com