Hi,
i'm having a problem when a album directory has special characters.
Example:
The directory is: /albums/2º Test
When zenphoto loads the photos, the album name becomes: 2º Test
In the database, the folder name is saved with the wrong encoding.
When i change the Charset option to "Western European (ISO)" the data in the database becomes correct, but the album title in the webpage continues to be wrong.
I'll provide more information if needed.
I'm using version 1.2.4
Thanks,
Joel
Comments
Also, are you sure that the encoding of your db tables match the right encoding? I just recently discovered that phpmyadmin may list a table in one encoding but several fields can also be in a different one (my table was listed as ut-8 but the title field was actually still latin1_swedish somehow).
After some digging i found the problem:
in functions-basic.php was
define('FILESYSTEM_CHARSET', 'ISO-8859-1');
and i changed to
define('FILESYSTEM_CHARSET', 'UTF-8');
now everything works great with everything set to utf8.
i guess FILESYSTEM_CHARSET shouldn't be hardcoded - maybe an option on the admin page.
regards,
joel
http://www.zenphoto.org/trac/ticket/762
thx joel