Bug 468002 - UTF8 Encoding is not supported in IPTC when using exiftool as backend.
Summary: UTF8 Encoding is not supported in IPTC when using exiftool as backend.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-ExifTool (show other bugs)
Version: 8.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-31 13:03 UTC by José Oliver-Didier
Modified: 2023-03-31 19:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments
Test Files (397.83 KB, application/x-zip-compressed)
2023-03-31 13:03 UTC, José Oliver-Didier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Oliver-Didier 2023-03-31 13:03:33 UTC
Created attachment 157741 [details]
Test Files

SUMMARY
***
IPTC Encoding differs when using exiftool as backend
***


STEPS TO REPRODUCE
1. Using two files on a "test" directory, first ensure that writting using exiftool in the backend is disabled (Settings -> Configure Digikam -> Metadata, clear "Delegate to exiftool backend writting of all metadata operations" checkbox
2. Add Captions containing accented characters: Example "José", and write metadata to file.
3. Enable option to use exiftool backend to write metadata to file.
4. Repeat step 2 on second test file.
5. On Windows command line type:  exiftool *.jpg -iptc:all to display iptc values.
OBSERVED RESULT
- On Windows, the file which was modified using the exiftool backend displays the text differently.  Example: José
- Refer to attached files.

EXPECTED RESULT
- Same as with the exiftool option disabled. Example: José

SOFTWARE/OS VERSIONS
Windows 11
Comment 1 Maik Qualmann 2023-03-31 19:15:57 UTC
Git commit f7247f86ce9d6d33052b7b535caeba08f98e8509 by Maik Qualmann.
Committed on 31/03/2023 at 19:13.
Pushed by mqualmann into branch 'master'.

write iptc coded characterset tag with ExifTool
FIXED-IN: 8.0.0

M  +1    -1    NEWS
M  +2    -2    core/libs/metadataengine/engine/metaengine_p.cpp
M  +3    -1    core/libs/metadataengine/exiftool/exiftoolparser.h
M  +6    -1    core/libs/metadataengine/exiftool/exiftoolparser_command.cpp

https://invent.kde.org/graphics/digikam/commit/f7247f86ce9d6d33052b7b535caeba08f98e8509