Index: StripTags.php =================================================================== --- StripTags.php (revision 20339) +++ StripTags.php (working copy) @@ -1,4 +1,5 @@ )#s', '', (string) $value); - $valueCopy = preg_replace('#äöü'; + $expected = 'äöüäöü'; + $this->assertEquals($expected, $this->_filter->filter($input)); + + $input = 'äöüäöü'; + $input = iconv("UTF-8", "ISO-8859-1", $input); + $output = $this->_filter->filter($input); + $this->assertFalse(empty($output)); + } + + /** + * @ZF-8828 + */ + public function testFilterIsoCharsInComment() + { + $input = 'äöüäöü'; + $expected = 'äöüäöü'; + $this->assertEquals($expected, $this->_filter->filter($input)); + + $input = 'äöüäöü'; + $input = iconv("UTF-8", "ISO-8859-1", $input); + $output = $this->_filter->filter($input); + $this->assertFalse(empty($output)); + } } // Call Zend_Filter_StripTagsTest::main() if this source file is executed directly.