[Digikam-devel] Encoding for IPTC comments
Caulier Gilles
caulier.gilles at kdemail.net
Thu Feb 8 06:56:38 GMT 2007
Le mercredi 7 février 2007 15:15, Leonid Zeitlin a écrit :
> Ok, I will post to bugzilla.
>
> One note about setting Iptc.Envelope.CharacterSet though. I am afraid
> CP1251 is not even registered in the "International Registry for Coded
> Character Sets", and probably some other charsets that could be used
> by KDE aren't either. Therefore setting this tags is not always
> possible.
Use UTF-8 instead.
Look in B.K.O #132244. Andreas, the Exiv2 library author have posted a link
with the solution about envelope IPTC tag value. From the page :
http://www.annocpan.org/~BETTELLI/Image-MetaData-JPEG-0.15/lib/Image/MetaData/JPEG/TagLists.pod
... on "IPTC data (Editorial information and envelope record)" section, you
can read :
«
...
4) This dataset selects a character set, for use in character oriented
datasets in records 2-6, according to the "International Register of
Coded Character Sets" (ISO/IEC 2022 and ISO/IEC 2375, see for instance
L<http://www.itscj.ipsj.or.jp/ISO-IR/>), and typically consist of the
escape control character followed by one or more graphic characters.
For instance, "\033/A" refers to ISO-8859-1 (latin-1) and "\033%G" refers
to UTF-8 (a Unicode encoding).
...
»
I propose to give one option in digiKam setup and MetadataEdit kipi-plugin to
set the charset encoding to ASCII or UTF-8.
Gilles
More information about the Digikam-devel
mailing list