[Bug 189979] New: All displays of the same caption don' t show the same text when it contains éèà ...

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

[Bug 189979] New: All displays of the same caption don' t show the same text when it contains éèà ...

mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979

           Summary: All displays of the same caption don't show the same
                    text when it contains éèà...
           Product: digikam
           Version: 0.10.0
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-11-generic

I have some pictures displaying the following caption:

below the thumbnail: "soir?e"
on the IPTC IPTC editor: "soir?e"

but on the IPTC tab (on the right of Digikam windows): "soirée"

All displays of the same caption should be showing the same text.

NB. These pictures don't have XMP caption.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=189979


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier-4
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-04-18 17:04:33 ---
Can you add your picture in this file to test ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Bugzilla from mikmach@wp.pl
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #2 from Mikolaj Machowski <mikmach wp pl>  2009-04-18 17:27:13 ---
I can confirm this bug as iso-8859-2 user even don't seeing image in question.
I have tons of my own examples :)

In some part bug is invalid: as advertised in numerous places in metadata
plugins IPTC supports only us-ascii subset of characters. And eacute isn't in
this subset.

But: Metadata Working Group in latest version of guidelines
http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf

pages 27-28

writes:
1. Program should honor encoding set in 1:90 field
2. If 1:90 is not set assume: utf-8 or local encoding (in this order)
3. When changing string it should be recoded to utf-8 and field 1:90 should be
updated.
4. Newly created strings in IPTC-IIM should be in utf-8

Ad 4: if I understand text properly IPTC-IIM is considered deprecated and if
possible new content for IPTC-IIM fields shouldn't be created at all - use XMP
instead.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

mahikeulbody
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #3 from  <mahikeulbody gmail com>  2009-04-18 17:54:26 ---
Created an attachment (id=32910)
 --> (http://bugs.kde.org/attachment.cgi?id=32910)
an image to illustrare the problem

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

mahikeulbody
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #4 from  <mahikeulbody gmail com>  2009-04-18 17:58:08 ---
(In reply to comment #2)
> I can confirm this bug as iso-8859-2 user even don't seeing image in question.
> I have tons of my own examples :)
>
> In some part bug is invalid: as advertised in numerous places in metadata
> plugins IPTC supports only us-ascii subset of characters. And eacute isn't in
> this subset.

Anyway, Digikam should display the same string in all places of the GUI: either
"soir?e" either "soirée", but everywhere.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier-4
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-04-18 18:28:07 ---
To mik,

>Ad 4: if I understand text properly IPTC-IIM is considered deprecated and if
>possible new content for IPTC-IIM fields shouldn't be created at all - use XMP
>instead.

yes, IPTC is obsolete now...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

mahikeulbody
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #6 from  <mahikeulbody gmail com>  2009-04-18 19:12:16 ---
(In reply to comment #5)
> To mik,
>
> >Ad 4: if I understand text properly IPTC-IIM is considered deprecated and if
> >possible new content for IPTC-IIM fields shouldn't be created at all - use XMP
> >instead.
>
> yes, IPTC is obsolete now...

Is there a way to sync xmp tag from iptc tag of a set existing images (a batch
tool) ?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier-4
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2009-06-11 16:04:27 ---
Mik,

Using image provided by mahikeulbody, I find why iptc caption is not the same
with accentuate chars.

It's in libkexiv2. Look code there :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp#164

This line is used to fill metadata list view from digiKam right sidebar.
QString::fromAscii() is used to convert string data from Exiv2 byte array to
QString.

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp#333

...and this one by IPTC editor from kipi-plugins. QString::fromLocal8Bit() is
used to convert string data from Exiv2 byte array to QString.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier-4
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2009-06-11 18:49:34 ---
SVN commit 980383 by cgilles:

IPTC key => QString::fromLocal8bits()
IPTC val => QString::fromAscii()
CCBUGS: 189979


 M  +4 -4      kexiv2iptc.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=980383

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189979] All displays of the same caption don' t show the same text when it contains éèà ...

Gilles Caulier-4
In reply to this post by mahikeulbody
https://bugs.kde.org/show_bug.cgi?id=189979


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2009-06-11 19:00:19 ---
with my commit #980383 this file is now fixed. string is the same everywhere...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel