forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: FM86 on September 26, 2008, 10:36:42 pm

Title: Again about character Encoding
Post by: FM86 on September 26, 2008, 10:36:42 pm
Halloooo!

My coppermine main page presents name of countries in the local language (so I have at lest 30 different special characters).
I had an older version of Coppermine and I upgraded it few days ago. It was alright then I guess I modified a name of an album and all the special characters of every language are messed up. I saw that the encoding was the west Europe so I modified it to utf-8 but the characters are still unprintable.

The reference gallery is this one (http://www.lyra.it/copper)

How can I solve this problem?

Thank you!
Title: Re: Again about character Encoding
Post by: Joachim Müller on September 27, 2008, 08:34:58 am
Looks like the textual content in your database is not encoded in unicode, but iso8859-1. You'll have to convert it to unicode (utf-8), using charsetmgr.php
Title: Re: Again about character Encoding
Post by: FM86 on September 27, 2008, 10:11:14 am
I set $charstes['Western'] => 'utf-8' and it works perfectly. Thank you a lot!