public function convertCharacters($text)
    {
        $text = html_entity_decode($text, ENT_QUOTES, $this->decode_charset);
        $text = strtr($text, $this->translation_table);

        return $text;
    }
public function convertCharacters($text)
    {
        $text = html_entity_decode($text, ENT_QUOTES, $this->decode_charset);
        $text = strtr($text, $this->translation_table);

        return $text;
    }
public function convertCharacters ( $ text ) { $ text = html_entity_decode ( $ text , ENT_QUOTES , $ this -> decode_charset ) ; $ text = strtr ( $ text , $ this -> translation_table ) ; return $ text ; }
Helper method that uses the translation table to convert
non-ascii characters to a resonalbe alternative.

@param string $text

@return string
Helper method that uses the translation table to convert non - ascii characters to a resonalbe alternative .