[Digikam-devel] [Bug 151719] New: patch: non latin1 in iptc keywords
Piotr Tarnowski
piotr_tarnowski at wp.pl
Thu Nov 1 21:01:36 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=151719
Summary: patch: non latin1 in iptc keywords
Product: digikam
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: digikam-devel kde org
ReportedBy: piotr_tarnowski wp pl
Version: 0.9.2-final (using KDE KDE 3.5.5)
Installed from: Compiled From Sources
OS: Linux
I know that in digiKam 0.10.0 XMP will be used for keywords, but for inpatient (like me) i provide workaround for using entering non-latin1 keyword names. Everything is implemented in metadatahub.cpp class:
1) if you want to store keywords in another (8-bit) encoding, you should add a tag which path ends with 'tags.encoding/<encoding>' example "extra/my.tags.encoding/ISO-8859-2"
2) load method checks for such a tag and if notices one corrects encoding of other tags
3) write method does the same
I know that this is quick and dirty but it works and what is important stores information about encoding within image (so you can have images with different tags encoding and you do not have to remember which one has what encoding)
More information about the Digikam-devel
mailing list