coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: lpa on March 24, 2008, 04:51:12 PM

Title: Upgrading to 1.4.16 makes Character encoding mess up Danish characters
Post by: lpa on March 24, 2008, 04:51:12 PM
In Denmark we have the three special letters Æ, Ø and Å. After I upgraded to 1.4.16 and chose UTF-8, they are not shown anymore in the old galleries. Instead of one of the three letters I get a "�".

I tried running the charsetmgr.php (read that in another topic) But both "Convert from" and "to" were already utf-8, so thats not the problem. Could it have anything to do with my MySQL setting?

/Lars
Title: Re: Upgrading to 1.4.16 makes Character encoding mess up Danish characters
Post by: lpa on March 24, 2008, 04:57:38 PM
btw, I upgraded from 1.4.12
Title: Re: Upgrading to 1.4.16 makes Character encoding mess up Danish characters
Post by: Joachim Müller on March 25, 2008, 12:04:21 AM
Changing the encoding after having content in your database is alwaysw problematic. You shouldn't have started using another encoding than utf-8 in the first place. Are you sure that the conversion from iso8859-1 to utf-8 has been successfull? Post a link to your gallery for a start.
Title: Re: Upgrading to 1.4.16 makes Character encoding mess up Danish characters
Post by: lpa on March 25, 2008, 08:50:23 PM
Well, I wasn't aware it could be a problem before, see  ;)

www.farumkyokushin.dk see the block in right side of front page. It's a Postnuke site and I use pnCPG 4.01, and there are also problems with characters after the upgrade. I guess it must be the same problem.

Sorry, but I changed all the wrong characters in Coppermine manually, turned out there was only 20-25 of them. All the filenames containing the Danish character still are wrong though.   But don't you think the pnCPG problem on the frontpage derrives from the same origin?

/Lars
Title: Re: Upgrading to 1.4.16 makes Character encoding mess up Danish characters
Post by: Joachim Müller on March 26, 2008, 08:37:41 AM
It's not surprising that utf-8 encoded content taken from coppermine displays broken on your iso8859-1 powered postnuke block.
Actual link to your gallery is http://www.farumkyokushin.dk/cpg/
Displays as expected for me.
Title: Re: Upgrading to 1.4.16 makes Character encoding mess up Danish characters
Post by: lpa on March 26, 2008, 06:09:28 PM
Yes it does now, after I changed all albums manually. Many file names are still wrong, but that has less consequence. And the pnCPG also shows the albums wrong in PN, but I have to talk with Cas about that, I guess?

/Lars