|
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 |
maind Smarty Rookie
Joined: 14 Dec 2011 Posts: 7
|
Posted: Fri Jan 20, 2012 2:30 pm Post subject: smarty 3.1.7 - php parse error? |
|
|
Hello!
I've successfully updated to smarty 3.1.7.
Site works fine, but my IDE found php parse error at /sysplugins/smarty_internal_templateparser.php - line 2302
>>
$this->_retvalue = new _smarty_text($this, self::escape_start_tag(�));
(in utf8)
>>
$this->_retvalue = new _smarty_text($this, self::escape_start_tag(ö));
(in ISO-8859-1)
So, I guess, it is just type mismatch?
Probably quotes are missing there?
Also, I'm very interested which encoding does smarty files using?
I was sure that utf-8.
Thanks. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Fri Jan 20, 2012 2:55 pm Post subject: |
|
|
Thanks for bringing this up.
The problem was caused by a typo.
The Smarty source files don't use UTF-8 encoding.
The typo is now fixed in the SVN trunk version. It will be later included in 3.1.8 |
|
Back to top |
|
maind Smarty Rookie
Joined: 14 Dec 2011 Posts: 7
|
Posted: Fri Jan 20, 2012 2:58 pm Post subject: |
|
|
Thank you. |
|
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
|