Bad character encoding between forum (PunBB 1.2.11) and Gallery (cpg 1.4.8) Bad character encoding between forum (PunBB 1.2.11) and Gallery (cpg 1.4.8)
 

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

Bad character encoding between forum (PunBB 1.2.11) and Gallery (cpg 1.4.8)

Started by yacenty, August 13, 2006, 11:03:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yacenty

Hi all,
I had brigged forum with gallery, everything was till few days ago. Few my members have register with special characters in login - for example "Józek".
in the forum everything is ok, but when he adds photos to gallery he has strange name "J#(some kind of dummy character)zek"
in the gallery encoding is set to UTF8, but I have no idea what type of encoding is set in forum, I can not find any option to change it.
How can I get the same login in gallery and in forum?

Best regards,
YacentY


yacenty

sorry for lackness of information:)

My forum: http://www.agrofoto.pl/forum
my gallery: http://www.agrofoto.pl/gallery

cpg: 1.4.8
forum: punbb 1.2.11

user: test pass: test1234

Forum URL:      http://agrofoto.pl/forum
Relative path to your BBS's config file:    ../forum/
Use post-based groups?:    1

what is wrong with my config? why do I have strange encodings with some special polish characters?

best regards,
YacentY

Nibbler

Your forum is running in ISO-8859-2 and Coppermine in UTF-8. Check the punbb board for discussions on running punbb in utf-8. If you have iconv enabled in php then you can convert the names so they are displayed correctly. If you do then I can come up with some code to correct things.