News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

wrong encoding

Started by frank61, October 07, 2008, 06:18:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

frank61

Hi,
I have a problem with one UTF8 character: Á
I can't manage to display it correctly. All the other characters are displayed right. Big once or with diacritacal marks.
PHP localization language file is OK but "Á" from DB, for example first category name "FOTO REPORTÁŽE A-MARK" is displayed as "FOTO REPORT�?ŽE A-MARK" 
What's wrong with my installation?
Thanks for advice.
Frank
http://www.photo.amark.sk/index.php

frank61

It is OK

Inserted
mysql_query("SET NAMES 'utf8'",$result);  <=== insert this code
to functions.inc.php works well.

Thanks to Stanaka:
http://coppermine-gallery.com/forum/index.php/topic,24129.0.html

Now Coppermine writes data to DB as corectly as UTF8 encoded characters.

Frank

SaWey

Thanks for sharing your solution