[Solved]: Problem with serbian characters ŠĐČĆŽ=? [Solved]: Problem with serbian characters ŠĐČĆŽ=?
 

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

[Solved]: Problem with serbian characters ŠĐČĆŽ=?

Started by vlado85, August 19, 2009, 08:36:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vlado85

hello, I have a problem with characters on the Coppermine gallery 1.4.25. Collation gallery is on the Unicode (utf-8), and my tables is utf8_general_ci.    
I have a Serbian Latin translation and the characters ŠĐČĆŽ are converted to -?-. Serbian Cyrillic translation of all the converted to -?-  ???

My joomla site is connected with a gallery with Mehdi bridge. This problem is appearing before the junction.
   
Gallery is located on the following link:

http://www.palelive.com/cpg/index.php

Please help.

Nibbler

Have you modified serbian.php? If so, did you make sure to save it as UTF-8?

vlado85

Yes I have changed some files. Now I download a new gallery and again upload  serbian.php, serbian_cy.php and croatian.php, but the problem is still there.   ???

Joachim Müller

What tool do you use to upload your files to the server? Some all-in-one tools (like notorious MS Frontpage and it's built-in FTP client) tend to "beautify" the files they're just suppossed to transfer. The special chars from content coming from the db (like album names) appear to work as expected, but the stuff that comes from the language file (the menu etc) looks garbled. Could you temporarily delete the folder http://www.palelive.com/cpg/lang/ (back it up or rename it) and in that place upload the vanilla lang folder that comes with a fresh coppermine package. Please use a plain FTP app like FileZilla to do that.

vlado85

I used FileZilla. Once again, I do everything again. Deleted lang folder and again upload. All languages are working fine except for the Croatian and Serbian (Latin and Cyrillic), even Russian and Bulgarian Cyrillic work fine! This is impossible. That is not a question of a problem with some config file or something similar?

http://www.palelive.com/cpg

vlado85

lol I'm set!

I switched serbian.php file to Encode in UTF-8 without BOM and the thing is work!

Thanks for your help!

Nibbler


vlado85

   
hm I do not know, but the translation is now working!  :)

Joe Carver

@ vlado85 ,

What are you using to unzip on your local pc? And also please, what is the operating system of that pc?

Thanks

[off topic] The reason that I am asking is that I have been having strange (and aggravating) zip/unzip issues here [/off topic]

vlado85