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
It should work if everyhting is set to utf-8 actually. What theme are you using? Are the files saved in the right encoding? Do they have the charset meta tag in the ?
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).
thanks for the feedback.
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
It is unusual for the filesystem not to be ISO-8859-1. In particular you are the first to report such. Please give us information about your operating system, etc. We would really like to be able to detect this condition, but wanting of an example made this impossible. That is why the define.
hi stephan thats also the solution for my problem
http://www.zenphoto.org/trac/ticket/762
thx joel