EricZimmerman / EricZimmerman/Issues
SBECmd and ShellBag Explorer not properly handling accented characters in short names
- Dominant language
- No language data
- Stars
- 14
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining ShellBag Explorer and SBECmd handling of BagMRU values whose short names contain accented characters, using the examples Modèles, Téléchargements & programmes, and RÉFÉRE~1. Reproduce the missing registry last-write timestamps and verify that ShellBag Explorer shows them and SBECmd includes LastWriteTime, LastInteracted, and FirstInteracted in its CSV output.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100