I've just upgraded from v1.2 to v1.2.1 and I'm no longer able to edit albuns and photos using Latin characters (ç,ã,ê,etc)!! Case I do it and I try to save changes, either those texts will not visible at all or they will be truncated right at the first found Latin character. I haven't been able to figure out what changed in v1.2.1 because on v1.2 it was possible to use those characters normally (Portuguese language). Any help?
Comments
// If this is a new Zenphoto install, change the following to from 'false' to 'true'
$conf['UTF-8'] = false;
Either the comment (an upgrade it's not a new install, is it?) and the code (gotta remove the quotes to get it working!) are wrong.
By the way, I can see all over ZenPhoto appearing the word "Portugese"! It's wrong. Right spelling is "Portuguese". Soon I'll upload the pt_PT translation to add to ZenPhoto. Anyhow, to creators and developers, thanks for ZenPhoto and keep the good work.
Anyway, set the value to true if your database data is all UTF-8.
My MySQL version is 4.0.27. I've tried setting $conf['UTF-8'] to true / false but I get the same results.
// If this is a new Zenphoto install, change the following to from 'false' to 'true'
$conf['UTF-8'] = false;
and now my gallery accepts all characters everywhere. at least not in my case.
JovanT, have you checked what character set you have defined in admin options? It has to be some compatible with target language.
my database is utf-8 and website is utf-8 too.
1. the declared character set of the database
2. the actual characters stored in the database.
Just changing the database to UTF-8 does not change the characters stored within. You have to to both tasks.
i will try to install old version of zenphoto. if i find it.
currently my zenphoto working crippled since neither 1.2 or 1.2.1 works how it should be...
1.2 have thumbnail issue for images larger than 1280x1024 while 1.2.1 have international language issue
hope zenphoto team can release new version soon or a patch should be nice!
Does your server support folders with accented characters (I assume that is what you mean by "latin characters")? Not all do.
Are there warnings from setup that you have not resolved?
I made folder "test földer". It shows up in Zenphoto as "Test földer". There you see names of the images but you can't see the images. What is wired is that the EXIF-information of the images are working just fine.
In the MySql folder name is "Test földer" and coding is utf8_unicode_ci.
Also note that album folder names and album titles are independent.