[digikam] [Bug 329391] New: Digikam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

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

[digikam] [Bug 329391] New: Digikam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

Nicofo
https://bugs.kde.org/show_bug.cgi?id=329391

            Bug ID: 329391
           Summary: Digikam creates 'Document Name' metadata with
                    unreadable characters (encoding problem of accents)
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

When digikam rotates a picture, it adds the 'Document Name' EXIF metadata among
other.
1) Why ? This doesn't really annoy me be I have just asked to rotate the
picture...
2) The value of this tag is the file's name. But if the file's name contains
accents, they are not correctly displayed by digikam (or other software like
gwenview, exiftool, jhead, ...)

Example: picture's name= forêt_érable.jpg
 -> DocumentName = for�t_�rable.jpg

Reproducible: Always

Steps to Reproduce:
1. rename a picture with accents
2. rotate it with digikam
3. see the result in the "DocumentName" tag

--
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
|

[digikam] [Bug 329391] Digikam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Metadata

--- Comment #1 from Gilles Caulier <[hidden email]> ---
Can you share a sample image to test here ?

Gilles Caulier

--
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
|

[digikam] [Bug 329391] Digikam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

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

--- Comment #2 from Gilles Caulier <[hidden email]> ---
This behavior sound like normal. Look Exiv2 documentation about Tag :

http://www.exiv2.org/tags.html

0x010d    269    Image    Exif.Image.DocumentName    Ascii    The name of the
document from which this image was scanned

Exif tag DocumentName only support ASCII...

The alternative to this problem is to put filename into XMP as well, but exif
XMP schemas do not contain DocumentName.

The solution can be to use digiKam XMP namespace.

Gilles Caulier

--
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
|

[digikam] [Bug 329391] Digikam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

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

--- Comment #3 from Nicofo <[hidden email]> ---
(In reply to comment #1)
> Can you share a sample image to test here ?
>
> Gilles Caulier
See an example here: nicofo.tuxfamily.org/tmp/Example_accent.jpg

--
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
|

[digikam] [Bug 329391] Digikam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

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

--- Comment #4 from Gilles Caulier <[hidden email]> ---
yes reproducible, but nit solvable as well using Exif. XMP need to be used
instead. See my comment #2. Any suggestions are welcome about XMP namespace to
use...

--
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
|

[digikam] [Bug 329391] digiKam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Digikam creates 'Document   |digiKam creates 'Document
                   |Name' metadata with         |Name' metadata with
                   |unreadable characters       |unreadable characters
                   |(encoding problem of        |(encoding problem of
                   |accents)                    |accents)
                 CC|                            |[hidden email]

--- Comment #5 from Gilles Caulier <[hidden email]> ---
Andreas,

Xmp.Exif.DocumentName tag do not exists in standard XMP namespace.

There is another tags from XMP which can replace Exif.Image.DocumentName ?

Gilles Caulier

--
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
|

[digikam] [Bug 329391] digiKam creates 'Document Name' metadata with unreadable characters (encoding problem of accents)

bugzilla_noreply
In reply to this post by Nicofo
https://bugs.kde.org/show_bug.cgi?id=329391

Wolfgang Scheffner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from Wolfgang Scheffner <[hidden email]> ---
It seems to me that here happened a misunderstanding.

I just checked the bug and it is still like Nicofo described it. But I think
the "unreadable characters" are not really the problem. Probably there is no
solution for that anyway due to the fact that this field can take only standard
ASCII caracters.

But the important question is Nicofo's first one: why is this happening anyway?
He wrote "This doesn't really annoy me ..." but was obviously meaning "This
does really annoy me because I have just asked to rotate the picture...".

Beside the fact that putting the filename into this field has nothing to do
with rotating the picture it also doesn't fit to the definition of this field.
In the "Display" tab of the metadata section of the digiKam settings you find
for DocumentName: "The name of the document from which this image was scanned".
Has nothing to do with rotation IMHO.

So the solution could be "simply" to delete this action from the code.

--
You are receiving this mail because:
You are the assignee for the bug.