Recently there was a need to compare a UTF-16 file to a file with ANSI 1256 code page.
My default code page is different, and autodetection (if there is any) did not work.
For quick selection of a code page comboboxes could be added in both sides of Choose encoding dialog.
In the line with ANSI radio buttons, of course.
Compare by contents: code pages
Moderators: white, Hacker, petermad, Stefan2
Compare by contents: code pages
Last edited by browny on 2019-03-07, 22:25 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Compare by contents: code pages
TC uses the code page chosen in the font settings. Just pick a font and set the encoding to Arabic. This does not affect the encoding of UTF-16.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Compare by contents: code pages
Thanks.
Font setting is more "permanent", and encoding dialog is better for changing things on the fly.
There were dozens of files, all in different languages.
It was not easy to guess which font to pick even though code pages and language codes were known.
A simple entry field for code page number would have been a convenience.
Luckily, this is not expected to happen often.
Font setting is more "permanent", and encoding dialog is better for changing things on the fly.
There were dozens of files, all in different languages.
It was not easy to guess which font to pick even though code pages and language codes were known.
A simple entry field for code page number would have been a convenience.
Luckily, this is not expected to happen often.
Re: Compare by contents: code pages
I would like to support this request: the amount of possible code pages in the Compare contents (chosen in the Font settings) is quite limited and sometimes is not enough. Lister, on the other side, has much more options in the Encoding menu and allows to add user-defined codepages from even more extensive list, like different DOS codepages etc. Adding the Lister-like menu to the Compare dialog would be a great advantage.
Desktop: Windows 11 Pro 23H2, TC 11.03(RC). Mobile: Pixel 5a, Android 14, TC 3.42b5