pdkv2 Posted May 20, 2009 Share Posted May 20, 2009 Hi all, whenever i try to set the locale to russian "ru" and prints the date with the invalid characters for month please see the code below setlocale(LC_TIME, "ru"); $dt = strftime("%b %d %Y", mktime(0, 0, 0,5, 20, 2009)); echo $dt; this gives output "??? 20 2009" but if i change the locale to en, jp, de etc all those gives correct output "May 20 2009" Thanks, Sharad. Link to comment https://forums.phpfreaks.com/topic/158862-problem-with-setlocalelc_time-ru/ Share on other sites More sharing options...
pdkv2 Posted May 21, 2009 Author Share Posted May 21, 2009 can any one give suggestion please !! Link to comment https://forums.phpfreaks.com/topic/158862-problem-with-setlocalelc_time-ru/#findComment-838664 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.