Page 1 of 1

Strange character causing 'duplicate' entries in list

Posted: 30 Oct 2016 13:22
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 764 times

Re: Strange character causing 'duplicate' entries in list

Posted: 31 Oct 2016 10:56
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>

Re: Strange character causing 'duplicate' entries in list

Posted: 31 Oct 2016 12:01
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>