I used the bulk upload feature of Zenphoto to import an album of photos for testing purposes. Unfortunately all non-Anglo-Saxon letters in the photo names disappeared. Thus Sébastien became Sbastien. I would of course like to keep those letters. Help!
Comments
What platform are you on PC or Mac
What charset have you assigned in IPTC encoding: under Options/Image in the admin of ZenPhoto.
Harvey
PS: To answer your questions: The metadata was inserted by Photoshop Elements 6, I'm on a PC, and Zenphoto's IPTC encoding is set to Western European (ISO).
While I'm here, I'll ask another question: how do I tell Zenphoto I want to use French instead of English? (I'm running Zenphoto at DreamHost.) I've looked for a setting in the Admin Toolbox without success.
Harvey
Note also that the title you see on the gallery is independed from the actual filename! An image named "image.jpg" may have the title "text". Same for album (folder) names and titles.
Back to my original problem with French characters: I've used phpMyAdmin to put the é back into Brach-Saint-Sbastien.jpg in the Title field. It displays correctly there, even after reloading the page, and I notice that the Title field is encoded utf8_unicode_ci. However, the Default theme displays the updated title as Brach-Saint-S�bastien. Help!
When I input French letters directly into Zenphoto they rest; however, I used phpMyAdmin for inputting French letters as a surrogate for importing data directly into the Zenphoto database via PHP.
Harvey
Btw, setup recommends to have the mbstring PHP package on your server. Did you check that?
Since this issue is potentially a showstopper, I want to be sure I understand what you're telling me.
My plan has been to have a folder/album for each commune in the Gironde where I live with a subfolder/subfolder for each church, chapel or other place of worship in the commune and in the subalbum/subfolder would be the set of photos of the church. Since an albums/subalbums/folders' name can differ from its title, I was planning to restrict the names to English characters and assign French titles to the albums/subalbums/folders. By doing so, I believe I will be following your advice "not to use accents and other special characters in file/foldernames". Do you think the name/title distinction in Zenphoto allows me to show correct French titles on the screen?
Harvey
If the display itself works is dependend on the right (same) encoding everywhere like database tables and fields (can differ!), theme files encoding (how they are saved), charset encoding and if you use EXIF data there, too (as has been pointed out). UTF-8 best as it covers everything. Also it is really recommended to have the mbstring extension on your server (noted on our installation page). Ask your host about that.
Generally I really suggest to do a test run with an example album to be sure how it works on your server befoer starting such large projects. We can't know about all possible configurations.
Excellent advice and, in fact, what I am doing. Debugging the transmission of data (making sure character sets are preserved at every step) is a separate problem from being sure that once correct data gets into the Zenphoto database, it will be displayed correctly. From your responses and my testing, it looks like French will be displayed properly.
So, any problem I have with preserving French characters during uploading of data is elsewhere than in Zenphoto. And I confess I don't know whether DreamHost includes mbstring in its standard configuration of PHP; I'll investigate. As you point out, it's a necessary condition of using the utf8 character set successfully.
Thanks for your attention to my questions,
Harvey