Hello all,
Not sure wether this is a bug or not.
My photos are stored and manually arranged in a folder and I have ZP read through it to get its structure.
The point is, as I am french, some of these folders have accentuated characters. And these characters are somehow badly handled by ZP.
I have an UTF filesystem (I checked the folders with convmv) and my SQL DB & tables interclassement is UTF8. Zenphoto internal charset is set to UTF8 as well.
Here's what I have noticed:
I unfortunately have no logs to show you - ZP doesn't come with any error. I am using the SVN version 5486.
Thanks!
Are you sure your server supports "special chars" in file and folder names at all? I am German and virtually no host over here "likes" our "umlauts" and especially not accentuated chars...
If you upload via the backend it will strip those characters for seo.
Ticket #1522 is opened about this topic:
http://www.zenphoto.org/trac/ticket/1522
Hi,
Just like OP I don't add files using the backend to upload and just let ZP reads through my folder and update its structure accordingly (I really like that feature
However, ZP is running on a Windows 2003 machine. Folder/file names include Nordic characters.
During setup it's possible to select between many different server file system character sets, I've tried ISO-8859-1, UTF-8 and Windows-1252, but folders/files with Nordic characters aren’t working.
Does anyone know which server file system character set that works with Nordic characters in folder/files names running on Windows 2003?
Since setup asks for server file system character set, do I still need to do any other changes, like the "FILESYSTEM_CHARSET" define?
Thanks!
There still may be an issue of determining the character set of your server. There is a technique in the nightly builds that may help there.
Short is that if the FILESYSTEN_CHARSET define does not match what the file system actually uses, all those characters with diacritical marks will not work.
Thanks for fast reply!
I've tried zenphoto-2010-11-07-trunk and for ISO‑8859‑1 and WINDOWS‑1252 the test doesn't report any errors. Using UTF-8 or UNICODE the test report "...seems wrong".
So for Windows 2003 should I use ISO‑8859‑1 or WINDOWS‑1252? Or it doesn't matter?
Pictures aren't displayed though, but I noticed the following.
I have an album "Ã¥" (WINDOWS-1252 "E5") and a picture "test.jpg". in that folder. The http path in the browser is displayed as "http://.../Ã¥/test.jpg", but no picture, only empty frame.
If I click the empty frame to get the full picture, the http path changes to "http://.../albums/%E5/test.jpg" and the error message "You don't have permission to access /albums/Ã¥/test.jpg on this server." is shown.
Changing the http path manually to "http://.../albums/Ã¥/test.jpg" the picture is displayed.
So, any advice how to sort that? mod_rewrite?
Appreciate any help!