[Digikam-devel] [digikam] [Bug 331700] New: Some metadata are written with corrupted encoding of non-latin characters
Michal Thoma
michal at thoma.cz
Mon Mar 3 12:47:29 GMT 2014
https://bugs.kde.org/show_bug.cgi?id=331700
Bug ID: 331700
Summary: Some metadata are written with corrupted encoding of
non-latin characters
Classification: Unclassified
Product: digikam
Version: 3.5.0
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Metadata
Assignee: digikam-devel at kde.org
Reporter: michal at thoma.cz
I use XMP sidecar metadta for strorage and during copying, that some of this
metatada fails to support utf-8. Non-characters are changed into question
marks.
The tag affected is dc:description.
exif:UserComment and tiff:ImageDescription are written all right. Concerned
characters are of Czech alphabet like ěščřžů etc.
Find XMP sidecar below. It contain description "Hotel Paříž" which is rendered
in dc:description as "Hotel Pa?í?"
This affect interoperability with other software, because dc:description tag is
considered primary description field in some apps - especially exiftool.
Reproducible: Always
Steps to Reproduce:
1. Write description containing non latin character.
2. At right panel look at XMP metadata and search for Dublin Core Description
tag.
3. The non latin character are written wrongly.
<?xml version="1.0" encoding="UTF-8"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:digiKam="http://www.digikam.org/ns/1.0/"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmp:CreatorTool="digiKam-3.4.0"
xmp:Rating="3"
MicrosoftPhoto:Rating="50"
exif:DateTimeOriginal="2014-03-01T17:14:53"
exif:DateTimeDigitized="2014-03-01T17:14:53"
exif:ExposureTime="1/200"
exif:FNumber="90/10"
exif:ExposureProgram="3"
exif:ExposureBiasValue="0/10"
exif:MeteringMode="2"
exif:FocalLength="5500/100"
exif:SensingMethod="2"
exif:CFAPattern="0 2 0 2 2 1 1 0"
exif:CustomRendered="0"
exif:ExposureMode="0"
exif:WhiteBalance="1"
exif:FocalLengthIn35mmFilm="82"
exif:SceneCaptureType="0"
exif:Contrast="2"
exif:Saturation="0"
exif:Sharpness="2"
exif:SubjectDistanceRange="3"
exif:GPSVersionID="2.3.0.0"
tiff:ImageWidth="4992"
tiff:ImageLength="3284"
tiff:Compression="65535"
tiff:PhotometricInterpretation="32803"
tiff:Orientation="8"
tiff:SamplesPerPixel="1"
tiff:PlanarConfiguration="1"
tiff:XResolution="300/1"
tiff:YResolution="300/1"
tiff:ResolutionUnit="2"
tiff:DateTime="2014-03-01T17:14:53"
tiff:Make="PENTAX "
tiff:Model="PENTAX K-5 "
tiff:Software="K-5 Ver 1.15 ">
<exif:Flash
exif:Fired="False"
exif:Return="0"
exif:Mode="2"
exif:Function="False"
exif:RedEyeMode="False"/>
<exif:UserComment>
<rdf:Alt>
<rdf:li xml:lang="x-default">Hotel Paříž</rdf:li>
</rdf:Alt>
</exif:UserComment>
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>400</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
<digiKam:CaptionsAuthorNames>
<rdf:Alt>
<rdf:li xml:lang="x-default"/>
</rdf:Alt>
</digiKam:CaptionsAuthorNames>
<digiKam:CaptionsDateTimeStamps>
<rdf:Alt>
<rdf:li xml:lang="x-default">2014-03-01T20:47:10</rdf:li>
</rdf:Alt>
</digiKam:CaptionsDateTimeStamps>
<tiff:ImageDescription>
<rdf:Alt>
<rdf:li xml:lang="x-default">Hotel Paříž</rdf:li>
</rdf:Alt>
</tiff:ImageDescription>
<tiff:BitsPerSample>
<rdf:Seq>
<rdf:li>14</rdf:li>
</rdf:Seq>
</tiff:BitsPerSample>
<dc:creator>
<rdf:Seq>
<rdf:li>Michal Thoma</rdf:li>
</rdf:Seq>
</dc:creator>
<dc:rights>
<rdf:Alt>
<rdf:li xml:lang="x-default">Michal Thoma</rdf:li>
</rdf:Alt>
</dc:rights>
<dc:description>
<rdf:Alt>
<rdf:li xml:lang="x-default">Hotel Pa?í?</rdf:li>
</rdf:Alt>
</dc:description>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list