Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Fixing encoding in database  (Read 2117 times)

0 Members and 1 Guest are viewing this topic.

spiros71

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 68
    • Greek translation
Fixing encoding in database
« on: October 30, 2008, 06:31:28 pm »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fixing encoding in database
« Reply #1 on: October 30, 2008, 08:26:36 pm »

Make sure that you have set up the mysql table collation correctly.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 17 queries.