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?
After my post I kept myself on track and I found it! The mistake is in zp-config.php, line 33. Correct sintax must be:
[i]// If this is a new Zenphoto install, change the following to from 'false' to 'true'
$conf['UTF-8'] = false;[/i]
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.
This is an artifact of older times. If your database is not already UTF-8 then setting this to true will make the connection use UTF-8. But for an upgrade that may be the wrong choice as your existing characters may not have been stored as UTF-8.
Anyway, set the value to true if your database data is all UTF-8.
Hi! I have the similar problem. My albums have serbian names written in cyrillic script. For example, one of them shоuld be named "ЕкÑперименти". Everything worked fine in ZenPhoto 1.2 but, when I've upgraded to 1.2.1, I couldn't use cyrillic or any other non-ASCI characters. When I try to edit album names inline, for "ЕкÑперименти" I get "�•к�пе�€имен�‚и". The same problem occurs if I try to edit via admin panel. Problem is not related only to album names, pictures and gallery title/description are affected, too.
My MySQL version is 4.0.27. I've tried setting $conf['UTF-8'] to true / false but I get the same results.
Well, my database was already containing Portuguese characters from version 1.2 but what I think it's relevant here it's that UTF-8 doesn't work that well for non-English languages. In my case everything is fine if I have the code in zp-config.php literally like this
// 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.
Quote:REMARK: it won't work if you write
$conf['UTF-8'] = "false";
or
$conf['UTF-8'] = "true";
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.
i didn't modified the zp-config.php when updating from 1.2 to 1.2.1 and still get the problems, i think the issue not from zp-config.php only
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!
i'm using Ubuntu 9.10 64bit folder names with latin worksjust fine. And there is no unsolves isues in setup (except image rotation).
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.
We generally recommend to avoid these characters in file and folder names in general. They do not work on any webspace I know correctly (I am German). If you use the backend to create an album it will turn the "földer" into "foelder" using the seoFilter plugin for that reason.
Also note that album folder names and album titles are independent.