Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Bug Windows with month name

 
Post new topic   Reply to topic    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:   
Post new topic   Reply to topic    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