Member
Member
op351com   2008-10-04, 12:34
#1

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?

Member
Member
op351com   2008-10-04, 12:59
#2

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.

Member
Member
sbillard   2008-10-04, 17:39
#3

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.

Junior Member
Junior Member
JovanT   2008-10-04, 18:35
#4

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.

Member
Member
op351com   2008-10-05, 16:23
#5

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.

Member
Member
gsk   2008-10-10, 12:22
#6

after THIS upgrade all non-latin characters is not displayed. I even made my login name using lithuanian characters and now i cannot even login.
my database is utf-8 and website is utf-8 too.

Member
Member
sbillard   2008-10-10, 17:10
#7

There are two different things involved here.

  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.

Member
Member
gsk   2008-10-13, 06:21
#8

the original database was created in UTF-8. previuos versions of zenphoto worked perfectly. after this upgrade something happened.

i will try to install old version of zenphoto. if i find it.

Member
Member
freya   2008-10-15, 11:22
#9

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!

Administrator
Administrator
acrylian   2008-10-15, 11:40
#10

Please try the nightly / svn version.

Member
Member
Kale   2010-02-22, 20:22
#11

Fresh install of 1.2.8 [4881] (Official Build) and hfolders having latin chracters are not working at all. Could some help what could be wrong?

Member
Member
sbillard   2010-02-22, 21:00
#12

No simple answer. Things to check:

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?

Member
Member
Kale   2010-02-23, 11:06
#13

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.

Administrator
Administrator
acrylian   2010-02-23, 11:19
#14

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.

Member
Member
sbillard   2010-02-23, 19:04
#15

Most likely your filesystem is operating in UTF-8 rather than the normal ISO-8859. You can try experimenting with the FILESYSTEM_CHARSET define.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.