IPTC keyword iso8859-15 and UTF-8
Moderators: helmut, XnTriq, xnview
IPTC keyword iso8859-15 and UTF-8
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.
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.
carnussien
Re: IPTC keyword iso8859-15 and UTF-8
And if you use 'locale'??
Could you send me a sample file?
Could you send me a sample file?
Pierre.
Re: IPTC keyword iso8859-15 and UTF-8
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.
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.
- Attachments
-
- testkwAprès.jpg (35.81 KiB) Viewed 1589 times
-
- testkwAvant.jpg (35.61 KiB) Viewed 1589 times
carnussien
Re: IPTC keyword iso8859-15 and UTF-8
Oh ok, so no problem on Windows, only on linux, right?
Pierre.
Re: IPTC keyword iso8859-15 and UTF-8
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?caesarvic wrote:Right !
Pierre.
Re: IPTC keyword iso8859-15 and UTF-8
Hello pierre,
OK i sent you my email address
Thanks
OK i sent you my email address
Thanks
carnussien
Re: IPTC keyword iso8859-15 and UTF-8
Do you have received my mail?caesarvic wrote:Hello pierre,
OK i sent you my email address
Thanks
Pierre.
Re: IPTC keyword iso8859-15 and UTF-8
No, not yet.xnview wrote:Do you have received my mail?caesarvic wrote:Hello pierre,
OK i sent you my email address
Thanks
carnussien
Re: IPTC keyword iso8859-15 and UTF-8
Resent...caesarvic wrote:No, not yet.xnview wrote:Do you have received my mail?caesarvic wrote:Hello pierre,
OK i sent you my email address
Thanks
Pierre.