original_string: public static function specialtoascii($text, $charset='utf-8') {
          $charset = self::parse_charset($charset);
          $oldlevel = error_reporting(E_PARSE);
          $result = self::typo3()->specCharsToASCII($charset, (string)$text);
          error_reporting($oldlevel);
          return $result;
      }
code: public static function specialtoascii($text, $charset='utf-8') {
          $charset = self::parse_charset($charset);
          $oldlevel = error_reporting(E_PARSE);
          $result = self::typo3()->specCharsToASCII($charset, (string)$text);
          error_reporting($oldlevel);
          return $result;
      }
code_tokens: public static function specialtoascii ( $ text , $ charset = 'utf-8' ) { $ charset = self :: parse_charset ( $ charset ) ; $ oldlevel = error_reporting ( E_PARSE ) ; $ result = self :: typo3 ( ) -> specCharsToASCII ( $ charset , ( string ) $ text ) ; error_reporting ( $ oldlevel ) ; return $ result ; }
docstring: Try to convert upper unicode characters to plain ascii,
  the returned string may contain unconverted unicode characters.
  
  @param string $text input string
  @param string $charset encoding of the text
  @return string converted ascii string
docstring_tokens: Try to convert upper unicode characters to plain ascii the returned string may contain unconverted unicode characters .