Advanced search  

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

Pages: [1]   Go Down

Author Topic: Turkish character problem with SMF bridge  (Read 5611 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: Maça 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 -yürüyüş-
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: 15764
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 -yürüyüş-, it will be saved as -yürüyüş- 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 Maça Papazı correctly and Cpg seems convert this when read from sql.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
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.019 seconds with 19 queries.