Issue Type: Bug Created: 2010-02-18T03:55:41.000+0000 Last Updated: 2010-02-18T10:09:56.000+0000 Status: Resolved Fix version(s): Reporter: Paddy Dent (paddydaemon) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_View
Related issues: - ZF-8715
On updating from 1.9.6 to 1.10.1, output from $this->view->escape('£99.99') would render nothing instead of the desired output. It seems this behaviour only effects strings with multi-byte chars (Eg £'s).
Posted by Ramon Henrique Ornelas (ramon) on 2010-02-18T04:40:33.000+0000
In method Zend_View_Abstract::escape() Can be a problem with of the Zend_View_Abstract::$_encoding
Encoding In 1.9.6 default = 'ISO-8859-1' In 1.10.1 default = 'UTF-8'
Posted by Paddy Dent (paddydaemon) on 2010-02-18T05:28:44.000+0000
thanks for the swift response! it makes complete sense, and now we've set the other relevant attributes to UTF-8 (Eg database sockets/etc) the issue has been resolved.
Posted by Ramon Henrique Ornelas (ramon) on 2010-02-18T06:23:14.000+0000
@Paddy Thank You for report. Change made to 1.9.7.
See [http://framework.zend.com/manual/en/…] from section, Security fixes as with 1.9.7
Posted by Paddy Dent (paddydaemon) on 2010-02-18T07:09:26.000+0000
many thanks again...we'll review the doc you recommended and validate our newer web apps.
Have you found an issue?
See the Overview section for more details.