[Digikam-devel] extragear/graphics/digikam/libs/dmetadata

Gilles Caulier caulier.gilles at kdemail.net
Fri Mar 31 17:40:12 BST 2006


Le Vendredi 31 Mars 2006 11:24, Achim Bohnet a écrit :
> On Thursday 30 March 2006 12:53, Gilles Caulier wrote:
> > SVN commit 524348 by cgilles:
> >
> > ascii -> latin1
> >
> >  M  +1 -1      dmetadata.cpp
> >
> >
> > --- trunk/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp
> > #524347:524348 @@ -555,7 +555,7 @@
> >          // In Third we write comments into Iptc.
> >
> >          Exiv2::IptcData &iptcData = image->iptcData();
> > -        iptcData["Iptc.Application2.Caption"] = comment.ascii();
> > +        iptcData["Iptc.Application2.Caption"] = comment.latin1();
>
> I assume all non-european people will not be happy about this.
> Is there any reason why we can't use UTF-8?  Or at least store
> somewhere which 8bit charset is use?   8 bit char sets are a mess
> and should be avoided whereever possible.
>

This is a main problem with IPTC. It doesn't support UTF8 ! Alternative is XMP 
metadata.

Gilles



More information about the Digikam-devel mailing list