Choice of encoded character set for IPTC data

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply

Do you support the suggestion?

YES
8
100%
NO
0
No votes
 
Total votes: 8

John Brown
Posts: 1
Joined: Fri Dec 21, 2007 3:11 pm
Location: Kladno

Choice of encoded character set for IPTC data

Post by John Brown »

Suggestion: Add the option to select the character encoding set for the IPTC data both for reading and writing.

Benefit: Make the application more flexible for use in countries using non-ASCII characters and the images portable between OS (Windows/Linux). Also improves usability with images acquired from other sources.

Details:
1) For reading and default writing, the selection could be in Tools / Options / Interface, for writing also part of the Edit / Metadata / Edit IPTC dialogue.

2) For reading, the character set used for display should default to the one specified by the standard IPTC tag Coded Character Set in the image; if this is not present to the setting in XnView options.

3) For writing, the proposed selection box default value in the Edit / Metadata / Edit IPTC dialogue should follow the same principles. Additionaly, if the IPTC tag Coded Character Set is not in the image, it should be created.

4) The available character sets should include as a minimum Unicode, UTF-8, the Windows code pages and the ISO 8859-x character sets.
premek.b
Posts: 2
Joined: Sun Mar 16, 2008 8:55 pm
Location: Pilsen
Contact:

Re: Choice of encoded character set for IPTC data

Post by premek.b »

John Brown wrote:Suggestion: Add the option to select the character encoding set for the IPTC data both for reading and writing.
I second this suggestion - just see what the default behaviour does when an image with IPTC is put to an online album. I'd further suggest that the default encoding is set to UTF-8.

Premek
JoseDZ
Posts: 2
Joined: Tue Sep 16, 2008 1:45 pm

IPTC data in UTF-8

Post by JoseDZ »

I do also fully support this suggestion.

José
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Choice of encoded character set for IPTC data

Post by xnview »

It seems that IPTC can store character set for string, so someone has a file with IPTC in utf8??
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Choice of encoded character set for IPTC data

Post by XnTriq »

xnview wrote:It seems that IPTC can store character set for string, so someone has a file with IPTC in utf8??
http://farm1.static.flickr.com/27/60169 ... 88_o_d.jpg
Jan Egil Kristiansen ([url=http://www.flickr.com/help/forum/14069/]IPTC, Exifer and UTF-8[/url]) wrote:When uploading Stakkur, I was pleased to see that my IPTC keywords inside the JPEG file was used as tags.

But the keyword "Eiði" got wrong, the "ð" was replaced by two characters, probably ISO-8859-1 representations of the two bytes that represent "ð" in UTF-8.

I wrote the IPTC keywords with Exifer 2.1.5, and have no idea if the problem is in Exifer or in Flickr.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Choice of encoded character set for IPTC data

Post by xnview »

XnTriq wrote:
xnview wrote:It seems that IPTC can store character set for string, so someone has a file with IPTC in utf8??
http://farm1.static.flickr.com/27/60169 ... 88_o_d.jpg
Jan Egil Kristiansen ([url=http://www.flickr.com/help/forum/14069/]IPTC, Exifer and UTF-8[/url]) wrote:When uploading Stakkur, I was pleased to see that my IPTC keywords inside the JPEG file was used as tags.

But the keyword "Eiði" got wrong, the "ð" was replaced by two characters, probably ISO-8859-1 representations of the two bytes that represent "ð" in UTF-8.

I wrote the IPTC keywords with Exifer 2.1.5, and have no idea if the problem is in Exifer or in Flickr.
Not encoded in utf8 :-)
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Choice of encoded character set for IPTC data

Post by XnTriq »

xnview wrote:Not encoded in utf8 :-)
Whoops! Sorry, Pierre. I blame the eggnog... :P
JoseDZ
Posts: 2
Joined: Tue Sep 16, 2008 1:45 pm

Image with IPTC data encoded in UTF-8

Post by JoseDZ »

You can find an image with IPTC data encoded in UTF-8 at this adress:

http://www.lecac.be/images/1971agnes.jpg


The IPTC field "author" contains the following string: Drèze José
When using XNVIEW, the contents of this field is displayed: Drèze José

José
Post Reply