Summary: | IPTC encoding problem with non English language | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Alexis Ntounas <axel.ece> |
Component: | Metadata-Iptc | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 3.3.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/ad0ab9efeba6e2fe3bb86207a91499e4e8eb170f | Version Fixed In: | 7.1.0 |
Sentry Crash Report: |
Description
Alexis Ntounas
2013-08-31 21:22:50 UTC
Forgot to mention. I have some images whose tags I wrote in Greek by using Digikam 3.1.0. Greek metadata appears fine for those images in gwenview. IPTC is a very old standard which only support ASCII characters and strings size limitations. XMP is the replacement, with no limit. It support UTF-8 encoding. To resume : use XMP instead... Gilles Caulier I have also tried XMP. When I see the metadata in gwenview in the Meta Infrormation panel I get Title: lang="x-default" My title here Image Description: lang="x-default" My description here lang="x-default" appearing there is a bug of gwenview or this is the way it is supposed to appear? Git commit ad0ab9efeba6e2fe3bb86207a91499e4e8eb170f by Gilles Caulier. Committed on 28/08/2020 at 05:19. Pushed by cgilles into branch 'master'. IPTC and Utf8 support: If a tag is string, check if global IPTC characterset is null to convert in latin1, else we expect to interpret the string as utf8. We use std::string accessor from Exiv2 to get an Utf8 cenversion of string. If it do not work, well this problem need to be reported as UPSTREAM to Exiv2 as pre-cenversion of string is not done in background by the library. This patch prevent to display latin1 string with a wrong Utf8 conversion which can break some characters. BUGS: 379581 BUGS: 379050 FIXED-IN: 7.1.0 M +27 -3 core/libs/metadataengine/engine/metaengine_iptc.cpp https://invent.kde.org/graphics/digikam/commit/ad0ab9efeba6e2fe3bb86207a91499e4e8eb170f |