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: Turkish character problem with SMF bridge  (Read 5286 times)

0 Members and 1 Guest are viewing this topic.

darkeagle

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Turkish character problem with SMF bridge
« on: October 18, 2010, 03:02:34 pm »

Hi,
I installed CPG 1.5.8 and bridged to SMF2RC

Everything is working fine but I have charactar problem at only usernames.

For example: Maa Papazı shown like Ma�a Papaz?

My cgp link is: http://www.hatayfotograf.com/galeri/
All databases is set to utf8.

Thanks for your helps,
Regards...
Logged

darkeagle

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Turkish character problem with SMF bridge
« Reply #1 on: October 18, 2010, 10:23:48 pm »

And I noticed cpg is changing characters to sql.
For example: -yürüyüş- instead of -yryş-
In coppermine, it isn't so important but when I made block for main page of my site, characters not shown correct.
Is there any converter system to ascii in cpg?
If so, can I cancel it?
Logged

Αndr

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Turkish character problem with SMF bridge
« Reply #2 on: October 20, 2010, 03:06:17 pm »

Afaik there's no converter. Coppermine just uses the user table of the third party application (SMF in your case). Seems to be an encoding issue imo, but I've currently too little time to check that in a test environment.
Logged

darkeagle

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Turkish character problem with SMF bridge
« Reply #3 on: October 20, 2010, 04:36:18 pm »

Sorry for poor information.
In second example, this is title or description of photograph.

At SMF, there is not problem. If I write -yryş-, it will be saved as -yryş- to database.
But at CPG, it has been saving as -yürüyüş-. (In cpg it shown correct but in block that I made shown as stored database)

For this reason, I thought CPG will encode to sql or decode from sql.
Because, in my SMF database, username saved as Maa Papazı correctly and Cpg seems convert this when read from sql.
Logged

Αndr

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Turkish character problem with SMF bridge
« Reply #4 on: October 20, 2010, 04:41:49 pm »

Where exactly do you enter/save usernames in Coppermine when you are bridged?

Please add the following line to galeri/include/config.inc.php:
Code: [Select]
$CONFIG['dbcharset'] = 'utf8';and try again.
Logged

darkeagle

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Turkish character problem with SMF bridge
« Reply #5 on: October 20, 2010, 05:08:11 pm »

Whoa, it solved my problem perfectly,
Thank you very much :)
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.