|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Troto Smarty Rookie
Joined: 21 Mar 2007 Posts: 9
|
Posted: Mon Nov 16, 2009 1:43 pm Post subject: Why SMARTY_RESOURCE_CHAR_SET is UTF-8 ? |
|
|
Why is SMARTY_RESOURCE_CHAR_SET UTF-8 ?
I just want to know why is this.
I've spend half a day trying to figure it out why a config var was not working as expected. it turns out that i was using the escape modifier, and by default Smarty is using SMARTY_RESOURCE_CHAR_SET as the char set that is set to UTF-8.
In smarty2 the escape modifier was using ISO-8859-1.
Of course i can pass as a parameter the char set or even redefine SMARTY_RESOURCE_CHAR_SET, but could this be made as default ? |
|
Back to top |
|
caoimhin Smarty Rookie
Joined: 08 Nov 2009 Posts: 24 Location: Lebbeke, Belgium
|
Posted: Mon Nov 16, 2009 1:54 pm Post subject: Re: Why SMARTY_RESOURCE_CHAR_SET is UTF-8 ? |
|
|
Why should ISO-8859-1 be the default? |
|
Back to top |
|
imp4ct Smarty n00b
Joined: 14 Nov 2009 Posts: 3
|
Posted: Mon Nov 16, 2009 3:10 pm Post subject: |
|
|
@Troto
Really, UTF-8 is a webdev standard. Seems pritty normal to me Smarty3 has switched to it. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Nov 16, 2009 8:08 pm Post subject: |
|
|
UTF-8 is the default now, we will make a note of this in the upgrade docs. |
|
Back to top |
|
|
|
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
|