Again about character Encoding Again about character Encoding
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Again about character Encoding

Started by FM86, September 26, 2008, 10:36:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FM86

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

How can I solve this problem?

Thank you!

Joachim Müller

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

FM86

I set $charstes['Western'] => 'utf-8' and it works perfectly. Thank you a lot!