Priority: Not Evaluated
Affects Version/s: 5.8.0
Fix Version/s: None
Component/s: Core: QString and Unicode
Environment:macOS 10.12.3 (16D32), Qt 5.8.0 precompiled binary
Expected result: Must be the same ( file main.cpp included / copy&paste example wont work I think )
"wrong" letter come as returned path from QFileSystemWatcher.
I get the name from this ( macOS io functions ) It work perfectly for any encoding ( czech / chinese / thai )
But then I start watching folder using
It works correctly for chinese / thai or most unicode characters.
But when in pathname is e.g. "ř" and directory is changed
QFileSystemWatcher returns path which looks correctly looks the same, but it it not same when try to compare QStrings.
In some hex editor it looks like this
So how it is that QString stores same paths/letters with different way.