CMSMS windows & codepage of PHP functions

General project discussion. NOT for help questions.
Post Reply
rAndom90
New Member
New Member
Posts: 2
Joined: Sun Sep 26, 2010 11:02 am

CMSMS windows & codepage of PHP functions

Post by rAndom90 »

Since PHP on M$ windows does not support setlocale(...,'anything.UTF8') I'm getting non-utf8ed strftime results (which means trouble if Your months are named Září, Říjen....)

What I did is writing new function which simply calls iconv and replaced all calls to strftime to my func. Since this is very ugly, screws me when upgrading etc., I just wanted to ask if anyone have better solution. Global iconv isn't really possible since database/templates are already in UTF-8.

Or if code replacement like this would make it into repository (woohoo, I'm not feeling like walking all plugins doing find/replace job) so I would have 'simplified' upgrade.
Post Reply

Return to “General Discussion”