Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Bug Windows with month name

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
vaflan
Smarty n00b


Joined: 28 May 2013
Posts: 1

PostPosted: Tue May 28, 2013 10:50 am    Post subject: Bug Windows with month name Reply with quote

smarty\plugins\modifier.date_format.php

Of the month does not convert Windows in UTF8.
On this display is not correct to ASCII.
Enough to determine if the OS Windows, set the converter:
Code:
return iconv("cp1251", "UTF-8", strftime($format, $timestamp));


Without: http://i.imgur.com/Bll7hjI.png
With: http://i.imgur.com/GsrdCPN.png

It's problem find only with Windows Laughing
Sorry for bad English
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP