Strange character causing 'duplicate' entries in list

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Jerry
Posts: 828
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Strange character causing 'duplicate' entries in list

Post by Jerry »

[Using 17.20.0209, but this issue predates that release]

Below is a screen snippet showing what looks like 2 identically named folders in the same directory. But in fact, in one of the names, the two X's are not really X's, but a strange 2 byte unicode character, 0x2504, that for some reason is being rendered as an X on my Windows 10 system. The 2 X's in the other name are regular X's with 0x5800. I have Directional formatting code protection enabled in settings, and elsewhere I do see the *!* appear, but not here.

Can this kind of character be substituted with *!* also?
DuplicateEntriesInList.jpg
DuplicateEntriesInList.jpg (44.04 KiB) Viewed 760 times
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.

admin
Site Admin
Posts: 64917
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Strange character causing 'duplicate' entries in list

Post by admin »

AFAIK there are quite a bunch of homoglyphs in the Unicode set (this also depends on the font, of course). XYplorer's Directional formatting code protection only cares for, well, Directional formatting codes, not for homoglyphs.

I could add a tweak that lets you define a list of characters that XY should "protect" you from. Well, maybe a little overdone...

Since recently you can color code files if their names contain certain characters. This could help in your case, too:

Code: Select all

      - This cool new variable allows you to work with characters that are hard 
        or impossible to type or copy to clipboard. For example, you now can 
        easily create a Color Filter that highlights all files with Directional 
        Formatting Codes in the name, e.g. "Right-to-Left Override" (good idea 
        to accompany the patterns with a caption unless you have a very good 
        codepoint memory):
          "Right-to-Left Override" <U+202E>

Jerry
Posts: 828
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: Strange character causing 'duplicate' entries in list

Post by Jerry »

admin wrote:I could add a tweak that lets you define a list of characters that XY should "protect" you from. Well, maybe a little overdone...Since recently you can color code files if their names contain certain characters. This could help in your case, too:
Ok, while I've come across this a few times before (but didn't investigate), it's still very uncommon. So yes, I created a color filter for that character which should work well enough.

Code: Select all

name:<U+0425>
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.

Post Reply