ZF-7243: add method __construct in Zend_Filter_StringToUpper and Zend_Filter_StringToLower
Description
Call, Zend_Filter::filterStatic( 'ããaããã' , 'StringToUpper' , array( 'UTF-8' ) );
Return ããAããã.
Add method __construct in the classes Zend_Filter_StringToUpper and Zend_Filter_StringToLower,
makes the method call setEncoding.
public function __construct( $encoding = null )
{
if( $encoding !== null ){
$this->setEncoding( $encoding );
}
}
Comments
Posted by Thomas Weidner (thomas) on 2009-08-29T06:56:35.000+0000
Added this improvement with another at r17887