public function encode()
    {
    	foreach ($this->body as $key => $value) {
    		$result[] = $this->replaceText($value);
    	}

    	return implode('', $result);
    }
public function encode()
    {
    	foreach ($this->body as $key => $value) {
    		$result[] = $this->replaceText($value);
    	}

    	return implode('', $result);
    }
public function encode ( ) { foreach ( $ this -> body as $ key => $ value ) { $ result [ ] = $ this -> replaceText ( $ value ) ; } return implode ( '' , $ result ) ; }
Replace character with new unicode character

@return unicode character
Replace character with new unicode character