0.81 X64: Corrupt non-ASCII comment.

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
butty
Posts: 4
Joined: Tue Aug 23, 2016 12:34 pm
Contact:

0.81 X64: Corrupt non-ASCII comment.

Post 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.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [XnViewMP] Corrupt non-ASCII comment.

Post by xnview »

could you send me a file sample?
Pierre.
butty
Posts: 4
Joined: Tue Aug 23, 2016 12:34 pm
Contact:

Re: [XnViewMP] Corrupt non-ASCII comment.

Post by butty »

Hi, here is the URL of the sample image with Japanese comment: http://piulento.net/tmp/XnViewMP/IMG_0331.JPG
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [XnViewMP] Corrupt non-ASCII comment.

Post by xnview »

the problem is that JPEG comment use current locale, so there is no way to know which encoding is used
Pierre.
butty
Posts: 4
Joined: Tue Aug 23, 2016 12:34 pm
Contact:

Re: [XnViewMP] Corrupt non-ASCII comment.

Post 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.
Post Reply