Unexpected Behavior During File Comparison

Bug reports will be moved here when the described bug has been fixed

Moderators: petermad, Stefan2, white, Hacker

Post Reply
bluenlive2
Junior Member
Junior Member
Posts: 4
Joined: 2026-05-08, 03:28 UTC

Unexpected Behavior During File Comparison

Post by *bluenlive2 »

Hello.
I’ve found this to be an issue from time to time, but I’m only reporting it now.

Occasionally, the “Compare by Content” feature shows identical content as being different.
When I compare the two files uploaded via the link, it indicates that the content differs at the location shown in the screenshot, even though the content at that location matches exactly at the binary level.

Image: https://live.staticflickr.com/65535/55255191757_afa9da42bd_b.jpg

The files can be downloaded from the following link.
http://gofile.me/4IOEL/ODuCbosaY
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52921
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Unexpected Behavior During File Comparison

Post by *ghisler(Author) »

Thanks for your report, I can reproduce it. It only seems to happen when one side is shown as ANSI (plain text) and the other as UTF-8, because only one of the file contains UTF-8 characters (Korean comment). As a workaround, set both sides to UTF-8 manually and recompare.

I will check in the debugger what's going wrong here.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52921
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Unexpected Behavior During File Comparison

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.57a RC1, please check!
12.05.26 Fixed: Compare by content: Two lines were incorrectly identified as different when two almost identical lines occurred in the same file, differing by a tab character instead of a space in one position, e.g. <Tab>a and <Space>a (32/64)
Author of Total Commander
https://www.ghisler.com
bluenlive2
Junior Member
Junior Member
Posts: 4
Joined: 2026-05-08, 03:28 UTC

Re: Unexpected Behavior During File Comparison

Post by *bluenlive2 »

Sorry for the late reply.
I've confirmed that it's working properly.
Thank you for your hard work.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52921
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Unexpected Behavior During File Comparison

Post by *ghisler(Author) »

Great, thanks!

Moderator message from: ghisler(Author) » 2026-05-24, 08:30 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply