Page 1 of 1

IPTC keyword iso8859-15 and UTF-8

Posted: Sun Apr 03, 2011 1:15 pm
by caesarvic
Hello,
I start with XnView MP 0.35 fro unix on Ubuntu (intrepid).
I have the following problem:
If i open an existing jpg picture with keywords encoded in Iso8859-1 ( or iso8859-15 or latin1 ) all keywords with accented french characters are displayed in the right way ( " é " " à " ).
But if I add a new keyword (even an english one!) a character such as " é " ( existing in a previous keyword) is translated into "éééé" (whose hexa value is x"c3a9c3a9c3a9c3a9").
Actually , all keywords are written back with UTF-8 encoding.
Of course in the " tools setting metadata " parameter and " IPTC encoding " tab i have choosen " default IPTC encoding " iso8859-1 and " don't use UTF-8 to write IPTC fields " .
Could anyone tell me if he observes the same behaviour ?
Or could anyone give me some suggestion to correct the problem ?
I don't observe the problem with XnView MP for windows !
Thanks.

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Mon Apr 04, 2011 6:59 am
by xnview
And if you use 'locale'??
Could you send me a sample file?

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Mon Apr 04, 2011 12:00 pm
by caesarvic
hello xnview
I send you 2 files .
The first one named "testkwAvant.jpg was created with XnViewMP for windows.
I added the IPTC keyword 'ééééééééééééééé' whose pattern is easily found in an hexa editor.
That keyword in encoded in latin1 (iso8859-15 or -1).

The second one named "testkwAprès.jpg" is just a copy of the first one.
But with XnViewMP for unix, I added the IPTC keyword "newkeyword".
You can see that both keywords are encoded in UTF-8. It's my problem!

Of course in both cases the settings are don't ask to "Use UTF-8 to write IPTC fields"

About "locale" : I know that it is a "touchy" system wide area.
So I would prefer to leave them as they are (UTF-8 and french).
Thanks for your help.

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Mon Apr 04, 2011 12:06 pm
by xnview
Oh ok, so no problem on Windows, only on linux, right?

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Mon Apr 04, 2011 12:36 pm
by caesarvic
Right !

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Mon Apr 04, 2011 3:32 pm
by xnview
caesarvic wrote:Right !
Ok, i understand now (i test on current version not 0.35), i've fixed it. Send your email by PM if you want a test version?

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Tue Apr 05, 2011 11:17 am
by caesarvic
Hello pierre,
OK i sent you my email address
Thanks

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Tue Apr 05, 2011 8:43 pm
by xnview
caesarvic wrote:Hello pierre,
OK i sent you my email address
Thanks
Do you have received my mail?

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Wed Apr 06, 2011 3:31 pm
by caesarvic
xnview wrote:
caesarvic wrote:Hello pierre,
OK i sent you my email address
Thanks
Do you have received my mail?
No, not yet.

Re: IPTC keyword iso8859-15 and UTF-8

Posted: Thu Apr 07, 2011 9:06 am
by xnview
caesarvic wrote:
xnview wrote:
caesarvic wrote:Hello pierre,
OK i sent you my email address
Thanks
Do you have received my mail?
No, not yet.
Resent...