Version: (using KDE Devel) Installed from: Compiled sources Kfile currently breaks Unicode. See Bug 143530 for details. In short Kfile doesn't consider equivalent what Unicode defines as canonically equivalent. For example if a file "é" exist, opening "é" doesn't open the existing file (as long as "é" doesn't exists). Yet "é" and "é" are the 'same' string for Unicode. Kfile needs to: - normalize strings before comparing filenames when checking for conflict when saving a file - normalize strings before autocomplete - normalize strings to match existing filename with queried filename. It would probably be best to use NFC when creating files, see http://www.w3.org/TR/charmod-norm/#sec-NormalizationMotivation for motivation.
Moving from "kio/kfile" component to "kfile" product, helps sorting out duplicates.
Looks like this requires using QString::normalized() in the right places and with the right parameters, but the issue is too complex for me. Anyway I'd rather wait until http://bugreports.qt.nokia.com/browse/QTBUG-912 is fixed so that we can just do the same in KDE.
Is this still an issue with KDE Frameworks 5.44 or greater?
Created attachment 112012 [details] NFC file File with NFC string "école.txt"
Created attachment 112013 [details] NFD file File with NFD string "école.txt"
Yes, it can still create the two files I’ve attached in 5.44.
Each file was created with name as in its content.
Thanks for confirming!