coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: zeppo on April 24, 2005, 10:52:20 AM

Title: IPTC keywords from Mac to Coppermine gallery problem
Post by: zeppo on April 24, 2005, 10:52:20 AM
Hi Folks!

I installed the script (found from this forum, thanks!) that can read the keywords from IPTC data made in iView and write them to the Coppermine keyword field.

But there is problem with skandinavian letters, you know those a and o with two dots above: ä and ö characters for example. They will not come right to the database.

I use Mac, and problem seems to be connected with encoding of the IPTC data in Mac OS X. When PC version of the iView is used to write the IPTC keywords, the umlaut characters are just OK.

Do you have any ideas, how to solve this problem?
(  I will not switch to PC anyhow  ;)  )
Title: Re: IPTC keywords from Mac to Coppermine gallery problem
Post by: Joachim Müller on April 24, 2005, 06:47:56 PM
I don't have a solution for you, as I have no clue of PC-Mac differences, and I don't use the mod you mentioned. I just wanted to tell you that the umlauts (ä,ö,ü) are not scandinavian, but mostly from German (although there are some other languages that have them). The umlauts in German can be transcribed as ae, oe, ue (e.g. my last name "Müller" can be transcribed as "Mueller") - > you might want to convert your data this way as a workaround.

Joachim
Title: Re: IPTC keywords from Mac to Coppermine gallery problem
Post by: zeppo on April 24, 2005, 07:58:32 PM
Thanks for swift reply Joachim.

I am from Finland, and we have plenty of those ä and ö characters in our language. I think i still try to find a solution for this. For example porpoise is "pyöriäinen" in finnish. And it would be too much to ask someone search it writing: "pyoeriaeinen" :)

The root of the problem seem to be with "IPTC standard", which was born in the USA, and has no standard for encoding for extended characters we Europeans often need. And Mac and Windows seem to use different encoding.

Regards Zeppo

PS. Thanks for great software!
Title: Re: IPTC keywords from Mac to Coppermine gallery problem
Post by: zeppo on April 27, 2005, 09:58:07 AM
It would be nice to find a PHP script that would change MacRoman extended characters to ISO Latin 1 extended characters (or what ever Coppermine search will read OK), before writing keywords to the database.

Zeppo