File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *misvin »

File names with BiDi control characters are displayed incorrectly in the "Synchronize directories" window.

To reproduce it, add the control characters RLE (RIGHT-TO-LEFT EMBEDDING) and PDF (POP DIRECTIONAL FORMATTING) to file names with both English and Hebrew letters.

These filenames are displayed correctly in the main Total Commander window.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *ghisler(Author) »

Could you please post a file name here which is shown correctly in Total Commander but incorrectly in "Synchronize directories"?
I have created two sample Hebrew files
בית.txt
תל אביב.txt
And they both show up correctly in both TC an sync.
Author of Total Commander
https://www.ghisler.com
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *misvin »

Please see these screenshots:
Main Window
Synchronize dirs

Please note that your file names examples have Hebrew letters only.
The problem exists if file names have both English and Hebrew letters, with using BiDi control characters.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *ghisler(Author) »

Could you please post the name as plain text here in the forum? This would allow me to create a file with that name, so I can test it myself.
Author of Total Commander
https://www.ghisler.com
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *misvin »

5 ■ ‫הבדל בין Microsoft 365 ל־Office 2021‬ ■ Source: Microsoft Support.url

Please note that this filename has invisible BiDi characters to get the correct order of Hebrew and Latin letters, and numbers.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *ghisler(Author) »

Thanks, I can see the differences too, I will check what the problem could be.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *ghisler(Author) »

This has been fixed in TC 10.5 beta, please test it!
09.01.22 Fixed: Do not remove directional marks (right to left/left to right text) from file names if the name contains Hebrew or Arabic, e.g. in Synchronize Dirs (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4596
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: File names with BiDi chars are displayed incorrectly in the "Synchronize directories" window

Post by *white »

Problem confirmed with version 10.00 32bit and 64bit.

Tested OK using TC10.50b2 32bit and 64bit and Windows 11.
Post Reply