Skip to content

SBECmd and ShellBag Explorer not properly handling accented characters in short names #237

@certcea

Description

@certcea

Hello,

There seems to be an issue regarding how ShellBag Explorer (v2.1.0.0 net9) and SBECmd (v2.1.0.0 net9) handle the parsing when the short name of a BagMRU value contains an accented character (at least é,è,ï), and in uppercase as well).

Expected Behavior :

When browsing ShellBag Explorer, all directories should have an associated "Registry last write time" defined in the summary, and "Last Write Time" in the details section corresponding to its associated registry key last write timestamp.
When opening the CSV file produced by SBECmd, all entries should have an associated "LastWriteTime" defined.

Observed Issue :

When a directory's short name (as shown in the details section in ShellBags Explorer) contains an accented character, no "Last Write Time" is defined for the entry. There is no issue when the long name contains accented characters.
Consequently, all inferred timestamps based on the associated registry key "Last Write Time" are not produced (LastInteracted, FirstInteracted) in the cases they should be.

Steps to reproduce

I can't seem to reproduce it very reliably but in somes cases, the short name contained in the data of associated registry values actually does keep accented characters and not formatted like short names. I have not yet found the underlying reason why it happens, but it is what I observed.
Of all the examples I found, they are all either on a network share or on another drive than the C drive, but i may be a lack on my part.

Example of a 3 short names found as reported on ShellBag Explorer details section, and for which the Last Write Time is missing :

Short name: Modèles
Short name: Téléchargements & programmes
Short name: RÉFÉRE~1
...

Thank you very much in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions