ZenphotoCMS Forum
Encoding problem on images dates - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Encoding problem on images dates (/thread-4795.html)



Encoding problem on images dates - fetard - 2009-03-04

Hi
I'm using Zenphoto on a website, but I presently have the following problem : the month name of the image date is not encoded in the good charset, so the accentuated caracters don't display correctly (see on http://www.ocra-lyon.org/photos/Expositions/2007/Fevrier/15-Vernissage%20Mairie%209e/DSC00049.JPG.php for example).

I had gettext problems on the same server for another application so I had to rename the fr_FR to fr_FR.utf8@euro (the fr_FR locale wasn't present)

Have you any idea to solve it for Zenphoto ?




Encoding problem on images dates - sbillard - 2009-03-04

Did you note the warnings that setup.php gave you? http://www.ocra-lyon.org/photos/zp-core/setup.php. Specifically the one on mbstring which says that accented characters amy now work correctly?




Encoding problem on images dates - sbillard - 2009-03-05

Also, the display of your date seems to be ISO-8859-1 whereas the data is in UTF-8