Created attachment 103789 [details] Screenshot Dolphin fails to detect the mime type of the file when there are some specific characters in the file name. How to reproduce: Get any file (preferable a pdf, odt, docx, etc.) and copy/rename it as follows. ABC.pdf -> AİİA.pdf ABC.odt -> AİİA.odt ABC.docx -> AİA.docx (Beware the dotted I)! Check the files in Dolphin. Renamed pdf file appears as Pascal Source Code, odt file appears as Object Code, and docx file appears as Zip Archive. Screenshot can be seen in the attachment.
Thanks for the report, I have forwarded the issues to upstream shared-mime-info.
$ kmimetypefinder5 AİİA.pdf text/x-pascal It's not an xdg-utils bug, it relies in kmimetypefinder(5)
And looking at kmimetypefinder5, looks like it's a thin wrapper for QMimeType class, so this may well be a Qt5 bug. Fwiw, kde4's kmimetypefinder seems to get it right: $ kmimetypefinder AİİA.pdf application/pdf (accuracy 100)
Yep, I can reproduce with a minimal Qt test case. Reported upstream.
For the record, fixed in https://bugreports.qt.io/browse/QTBUG-58822