ExifTool Forum

ExifTool => Newbies => Topic started by: marjue on February 26, 2024, 11:59:16 AM

Title: -TagsFromFile and CodedCharacterSet
Post by: marjue on February 26, 2024, 11:59:16 AM
Hello

I'm using this command to transfer all metadate from one to another file. This works but special characters are not shown correctly.

exiftool -TagsFromFile  source.tif -IPTC:All -XMP:All dest.jpg
In the source picture  I can see this:
Coded Character Set            : UTF8

But in the destination "Coded Character Set" is empty.

How can I change this? The option "-charset utf8 " does not help.

Thanks for help
Title: Re: Re: -TagsFromFile
Post by: marjue on February 26, 2024, 12:30:44 PM
OK got it  8)

-codedcharacterset=utf8 helps a lot.
Title: Re: -TagsFromFile and CodedCharacterSet
Post by: StarGeek on February 26, 2024, 01:00:37 PM
The CodedCharacterSet tag is marked as Unsafe to copy (see the IPTC tags page (https://exiftool.org/TagNames/IPTC.html)).  You either have to explicitly copy it
exiftool -TagsFromFile source.jpg -All:All -CodedCharacterSet target.jpg

Or directly set it as you found.