![]() |
|
wrong date format in search pages - 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: wrong date format in search pages (/thread-6962.html) |
wrong date format in search pages - vincent3569 - 2010-04-26 hello Accentuated letters are well encoded in all files except the words treated in the variable "%1$s" in the following code of search.php : What should I do to solve the problem ? Thanks a lot for help. wrong date format in search pages - sbillard - 2010-04-26 Date formatting is controled by your PHP installation. What has setup said about anything having to do with translations and internal encodings? wrong date format in search pages - vincent3569 - 2010-04-27 hello i'am with the french ISP Free. how can i see the PHP's parameters of encoding date ? wrong date format in search pages - acrylian - 2010-04-27 Did you maybe modify the search page and saved it in a wrong encoding accidentally. There are several things that can cause this.
wrong date format in search pages - vincent3569 - 2010-04-28
Quote:PHP mbstring package [Your internal characater set is ISO-8859-1]
in the head of the file, i can see this line Quote: wrong date format in search pages - acrylian - 2010-04-28 phpinfo: http://php.net/manual/en/function.phpinfo.php [i]where is php.ini to modify mbstring.internal_encoding ?[/i] [i]encodings[/i] Also the server itself may operate in another encoding as well. But as sbillard said the month names are generated by the PHP on your server. I suggest to contact your host. wrong date format in search pages - vincent3569 - 2010-04-28 the problem occurs on news page : if the date's format shows the month (25 février 2010 for exemple, in french), the display of the date is incorrect. i will follow your instructions wrong date format in search pages - acrylian - 2010-04-28 Please try if this occurs with the Zenpage standard theme. If it does not, the error is not your server but your theme. wrong date format in search pages - vincent3569 - 2010-04-28 of course, i try it my theme and official theme and the problem occurs with both. there is the phpinfo report on mbstring mbstring mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive Local Value Master Value my ISP don't set a default value. and there is the phpinfo report on iconv (the only part who set the ISO-8859-1 value) iconv Directive Local Value Master Value what do you think about that ? wrong date format in search pages - acrylian - 2010-04-28 If your server apparently prefers ISO-8859-1 I suggest to try to set Zenphoto's encoding to that, too. wrong date format in search pages - sbillard - 2010-04-28 You really should get your server set to UTF-8 somehow. Otherwise you will surely have problems in the long run. wrong date format in search pages - vincent3569 - 2010-05-08 after contact with my isp Free, they told me there's no access to php.ini to set mbstring.internal_encoding to UTF-8. do you have another solution for me ? |