Page 1 of 1

0.81 X64: Corrupt non-ASCII comment.

Posted: Tue Aug 23, 2016 1:12 pm
by butty
Hi,
I'm using XnViewMP 0.81 x64. Found a problem in EXIF text handling.

Problem: When non-ASCII text is set to image comment, XnViewMP cannot show it correctly.

Steps:
1. Set a Japanese comment to an image with some image manipulating tool, such as XnView.
Image

-> When viewing the thumbnail of the image with XnView, the comment is ok.
Image

2. View the thumbnail of the image with XnViewMP.
-> The comment is shown incorrectly.
Image
Image

PS. Other properties, such as IPTC Object Name is ok.
XnView:
Image

XnViewMP:
Image

Regards.

Re: [XnViewMP] Corrupt non-ASCII comment.

Posted: Tue Aug 23, 2016 1:28 pm
by xnview
could you send me a file sample?

Re: [XnViewMP] Corrupt non-ASCII comment.

Posted: Tue Aug 23, 2016 1:34 pm
by butty
Hi, here is the URL of the sample image with Japanese comment: http://piulento.net/tmp/XnViewMP/IMG_0331.JPG

Re: [XnViewMP] Corrupt non-ASCII comment.

Posted: Tue Aug 23, 2016 1:54 pm
by xnview
the problem is that JPEG comment use current locale, so there is no way to know which encoding is used

Re: [XnViewMP] Corrupt non-ASCII comment.

Posted: Tue Aug 23, 2016 2:06 pm
by butty
Thanks.

I consider using other fields, such as EXIF user comment or IPTC's one.
But, I wonder why XnView and other apps are ok.