From: Gabriel Wicke Date: Wed, 23 Jun 2004 23:34:37 +0000 (+0000) Subject: removed encoding parameter from write function, fixes problems on php 4.2 X-Git-Tag: 1.5.0alpha1~2790 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=e6097c72eeb71dfd6e7372c138505995ced5ae0b;p=lhc%2Fweb%2Fwiklou.git removed encoding parameter from write function, fixes problems on php 4.2 --- diff --git a/PHPTAL-NP-0.7.0/libs/PHPTAL/OutputControl.php b/PHPTAL-NP-0.7.0/libs/PHPTAL/OutputControl.php index a62bf9244f..cb118f92e1 100644 --- a/PHPTAL-NP-0.7.0/libs/PHPTAL/OutputControl.php +++ b/PHPTAL-NP-0.7.0/libs/PHPTAL/OutputControl.php @@ -67,7 +67,9 @@ class PHPTAL_OutputControl // support for cyrillic strings thanks to Igor E. Poteryaev // **** hacked to htmlspecialchars() to avoid messing with text. // **** PHP prior to 4.3.7 contains bugs that mess up Greek. - $this->_buffer .= htmlspecialchars($str, $this->_quoteStyle, $this->_encoding); + // **** removed encoding parameter, this messed up titles in older versions of php + // **** we deal with encoding in Language.php + $this->_buffer .= htmlspecialchars($str, $this->_quoteStyle); } }