Fixing encoding in database Fixing encoding in database
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fixing encoding in database

Started by spiros71, October 30, 2008, 06:31:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spiros71

I use UTF-8 and I have cpg bridged with Joomla. However, cpg when exported from db appears likes this (for Greek)

(2, 'I^"I^?I^^(o)I^^(1)I^1/4I^±I"ƒI",,I^^(1)I^^(o)I"OE', '', 0, 'NO', 'YES', 'YES', 1, 10095, 0, NULL, NULL, NULL),
(4, 'I^ I^?I"?I^µI^?I^± I"ƒI",,I^? I^¥I"€I^?I"...I"?I^³I^µI^?I^? I^ I^±I^^(1)I^?I^µI^?I^±I", - 2006', 'I^ I^?I"?I^µI^?I^± I",,I^·I", I^^I^½I"‰I"ƒI^·I", I"ƒI",,I^? I^¥I"€I^?I"...I"?I^³I^µI^?I^? I",,I^?I^½ I^£I^µI"€I",,I^­I^1/4I^²I"?I^^(1)I^? I",,I^?I"...

Whereas joomla tables appear just fine:

(48, 14, 0, 'Μουσείο Φυσικής Ιστορίας Γουλανδρή', 'http://www.ekby.gr/';, 'Δραστηριότητες, δημοσιεύσεις, βιβλιοθήκη, προγράμματα.', '2007-10-09 00:53:39', 21, 1, 0, '0000-00-00 00:00:00', 7, 0, 1, 'target=0'),

Do you know which tool can I use to convert cpg data so that they display OK on db level too?

Joachim Müller

Make sure that you have set up the mysql table collation correctly.