[Digikam-devel] [Bug 132244] New: Special Chars in Keywords decode wrong in IPTC

classic Classic list List threaded Threaded
54 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Gilles Caulier-4
------- 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=132244         




------- Additional Comments From caulier.gilles gmail com  2007-06-13 18:36 -------
Leonid,

Well, i think than if IPTC char encoding tag is not set, content must be interpreted like ASCII... But it just my first impression.

Else, the problem is than digiKam must respect the IPTC norm, especially when we want to update or add tags:

1/ Detect the original encoding of tags.

2/ Set the encoding tag for all others tags (UTF8 is the universal encoding. ExifTool use only this one to add/update iptc)

3/ Convert and update all existing IPTC tag to UTF8 if original encoding is different.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From mikmach wp pl  2007-06-13 19:24 -------
> Well, i think than if IPTC char encoding tag is not set, content must be
> interpreted like ASCII... But it just my first impression.


Please consider this: first try utf-8, then try locale of
system, ASCII should be last resort.

m.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Leonid Zeitlin
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From lz europe com  2007-06-14 11:51 -------
Hi Gilles,
I completely agree that DigiKam should be strict in setting the tag correctly. However, I think it also should be liberal in reading the IPTC comments with encoding tag unset. I don't think one can assume that the comments are in ASCII, for non-English comments they won't. Even trying UTF-8 and system locale, as Mikolay above suggests, will not achieve full interoperability with Windows applications (something I an very keen about). Indeed, for a Russian-speaking user, any Windows application will write the comments in Windows CP1251 encoding; at the same time under a Unix system, the locale is likely to be either Russian KOI8-R or UTF-8. This is why I advocated adding a configration option for encoding to use in IPTC comments (which could default to UTF-8 of course).

I also wouldn't want digiKam to convert and update all existing IPTC tag to UTF8 if original encoding is different. The issue is, as I mentioned before, that many other applications will not recognize UTF-8 in IPTC comments and display raw Unicode characters, i.e. garbage.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Delphine Ménard
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From notafishz gmail com  2007-06-29 15:33 -------
Is it possible to at least put a warning on the indentity panel in order to tell people that their info won't be taken in, until this is fully fixed? When I type my name "Ménard", it simply rejects the é altogether and ends up with Mnard. First time I did this I thought I had mistyped and then realized that the field just ate my accentuated character.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Delphine Ménard
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From notafishz gmail com  2007-06-29 15:37 -------
Sorry for the trouble. The warning is already there. At the bottom.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Bugzilla from owner@bugs.kde.org
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         
notafishz gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- Additional Comments From notafishz gmail com  2007-06-29 15:38 -------
*** This bug has been confirmed by popular vote. ***
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Bugzilla from nadavkav@gmail.com
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From nadavkav gmail com  2007-08-03 11:07 -------
i use digikam 0.9.2-final (deb unstable) with kexiv2 0.1.5 + exiv2 0.14.0

when i get pictures from PhotoStation (Windows application for Image management) with Hebrew IPTC tags i can not see them, i get...(���)

when i opened Dotan's file from Comment #14 i got to see the correct hebrew word in the IPTC tag , but i'm unable to write UTF8 inside the tags (as you probably know). and the EXIF comment is unreadable.

it would be nice if i could have a combo box to choose the encoding for the tags i see in the editor and to be able to enter new text according to what i choose. it's a workaround and i know it's not the standard way to do this but it seems that different applications implement the IPTC standard in different ways.
or maybe, an option to encode the IPTC tags before i send them away to some other people how use a different application.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Bugzilla from nadavkav@gmail.com
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From nadavkav gmail com  2007-08-03 11:11 -------
Created an attachment (id=21322)
 --> (http://bugs.kde.org/attachment.cgi?id=21322&action=view)
IPTC tag in hebrew (iso-8859-8) from PhotoStation

here is an image i got from PhotoStation (a Windows application) with hebrew
IPTC tags (i think it's ISO-8859-8 or windows-1255) that is displaying the tags
in unreadable squares.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Leonid Zeitlin
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From lz europe com  2007-08-09 13:42 -------
Nadav,
Just want to mention that I have an unofficial patch that does approximately what you wanted. It adds a combo box with IPTC encoding selection to Digikam's configuration dialog (Metadata page). Once the encoding is set, you can read existing IPTC comments in this encoding and write new ones, and they are saved in this encoding.

The patch for Digikam 0.9.2 is here: http://www.csltd.com.ua/~lz/digikam/digikam-0.9.2-iptc-encoding-lz.patch, but you also need to patch libkexiv2, the patch is here: http://www.csltd.com.ua/~lz/digikam/libkexiv2-0.1.5-iptc-encoding-lz.patch.

If you try the patches, please let me know (lz europe com)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Bugzilla from nadavkav@gmail.com
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From nadavkav gmail com  2007-08-09 14:24 -------
wow :-) that's exactly what i meant!
will this be added to the main Digikam tree ?

(i'll probably give it a try in a few days :-)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Leonid Zeitlin
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From lz europe com  2007-08-09 14:27 -------
Question to Gilles :-)

Please give it a try and let me know.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Bugzilla from nadavkav@gmail.com
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         




------- Additional Comments From nadavkav gmail com  2007-08-19 21:00 -------
i've tested Leonid Zeitlin patch and it works fine.
when i set the right encoding and the IPTC fields are readable :-)
thou, i can't write any thing with is not pure ASCII :-(

i think the language encoding combo should be in the IPTC editor and not in the main Setting, because i get different pictures from around the world with different encodings and it is much easier to change for each picture view.

or maybe there should be a default fail over encoding inside the Setting dialog and the IPTC editor should get the right encoding from the beginning of the text string ? (if it's in the specs ? at all)

Thank you Leonid :-) for this beautiful patch !
Nadav :-)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Gilles Caulier-4
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Metadata                    |libkexiv2
            Product|digikam                     |kipiplugins
            Version|0.9.0-beta1                 |unspecified
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 132244] Special Chars in Keywords decode wrong in IPTC

Gilles Caulier-4
In reply to this post by Bugzilla from johann-nikolaus.andreae@nacs.de
------- 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=132244         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|digikam-devel kde org       |kde-imaging kde org
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123