Issues

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

Added this improvement with another at r17887