[Digikam-devel] [digikam] [Bug 346081] EXIV cannot open file on NTFS within non-english directory

Gilles Caulier caulier.gilles at gmail.com
Sun Apr 12 09:57:47 BST 2015


https://bugs.kde.org/show_bug.cgi?id=346081

--- Comment #4 from Gilles Caulier <caulier.gilles at gmail.com> ---
In digiKam we handle metadata through libkexiv2, which is a Qt wrapper around
Exiv2 library.

libkexiv2 use Qt. File paths are stored in QString which use UTF8.

Exiv2 is pure C++ lib. I don't know how UTF-8 is managed and if all way
respected this encoding.

To be sure just try to use Exiv2 CLI tool to change a metadata to a file stored
in NTFS with non ASCII char as file path.

If problem is reproducible with Exiv2 CLI tool, it's clear problem is located
in this lib.

Note : your backtrace indicate that crash down to Exiv2. This must never
happen. Exiv2 use C++ exception to handle problem. Exception are catch by
libkexiv2 in top level.

So, outside the char encoding problem, the crash from Exiv2 is abnormal and
must be reported to Exiv2 bugzilla. This cannot be fixed in libkexiv2.

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list