[Digikam-devel] [Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier caulier.gilles at gmail.com
Thu Jun 11 15:04:30 BST 2009


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





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2009-06-11 16:04:27 ---
Mik,

Using image provided by mahikeulbody, I find why iptc caption is not the same
with accentuate chars.

It's in libkexiv2. Look code there :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp#164

This line is used to fill metadata list view from digiKam right sidebar.
QString::fromAscii() is used to convert string data from Exiv2 byte array to
QString.

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp#333

...and this one by IPTC editor from kipi-plugins. QString::fromLocal8Bit() is
used to convert string data from Exiv2 byte array to QString.

Gilles Caulier

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list