Page 1 of 1

UTF-8 missing in IPTC Encoding

Posted: Wed Jun 12, 2013 1:46 pm
by herb
Hello,

First I have to say thank you for the new version 0.56 of XnViewMP.

With Tools --> Settings -- Metadata (see screenshot) a window is opened which allows to specify the encoding of IPTC metadata.
It is a wonderful feature and very helpful in case of reading IPTC metadata and the IPTC-tag: CodedCharacterSet is not present in the image file.
But the value UTF-8 for Unicode codepage is missing.

For writing IPTC metadata a specific option is availabe, which is not used reading IPTC metadata.

As I have lots of images with IPTC-metadata that also contain Unicode-characters, but CodedCharacterSet is not given, I ask you to add this value or to introduce another option for this.
For communication with Exiftool the option -charset iptc=utf8 must also be given.

Thanks in advance
Herb

Re: UTF-8 missing in IPTC Encoding

Posted: Thu Jun 13, 2013 10:54 am
by xnview
When IPTC is in UTF8, i can recognize it

Re: UTF-8 missing in IPTC Encoding

Posted: Thu Jun 13, 2013 1:56 pm
by herb
Hello,

my interpretation of your answer is, that you can recognize an UTF8 encoding of IPTC metadata also in version 0.56.

So please try the attached file, which contains IPTC in UTF8 but the tag CodedCharacterSet is not present.
Screenshot_1 shows the XnViewMP output and screenshot_2 shows it as expected.

Please correct the problem
Thanks
Herb

Re: UTF-8 missing in IPTC Encoding

Posted: Thu Jun 13, 2013 2:00 pm
by xnview
Ok, and which tool do you use to encode IPTC without CodedCharacterSet ?

Re: UTF-8 missing in IPTC Encoding

Posted: Thu Jun 13, 2013 2:19 pm
by herb
Hello Pierre,

thanks for your quick reply.
I use ExifTool to display all metadata. To get a correct output I have to use the Exiftool option "-charset iptc=utf8".

Best regards
Herb

Re: UTF-8 missing in IPTC Encoding

Posted: Mon Jun 17, 2013 7:33 am
by m.Th.
xnview wrote:Ok, and which tool do you use to encode IPTC without CodedCharacterSet ?
For ex. IDImager 5 and earlier.

It exhibits the very same problem. And perhaps AfterShotPro, but I'm not very sure.

Re: UTF-8 missing in IPTC Encoding

Posted: Sat Jul 06, 2013 1:42 pm
by herb
Hello Pierre,

thanks for the new version 0.60 of XnViewMP and thanks for adding UTF8 to the list of possible IPTC encodings.

And sorry, but for me the problem is not fully corrected.
Yes, XnViewMP itself now uses the correct encoding to read IPTC data, but Exiftool does not.

For images - with IPTC metadata and without the tag CodedCharacterSet - Exiftool must be started with following option:
exiftool. exe -charset iptc=utf8 <imagefile>.

Please add this option when eExiftool is started.
Thanks in advance
Herb