original_string: public function isConnectionUTF8()
      {
          $charsetInfo = $this->fetchAll('SHOW VARIABLES LIKE ?', array('character_set_connection'));
  
          if (empty($charsetInfo)) {
              return false;
          }
  
          $charset = $charsetInfo[0]['Value'];
          return $charset === 'utf8';
      }
code: public function isConnectionUTF8()
      {
          $charsetInfo = $this->fetchAll('SHOW VARIABLES LIKE ?', array('character_set_connection'));
  
          if (empty($charsetInfo)) {
              return false;
          }
  
          $charset = $charsetInfo[0]['Value'];
          return $charset === 'utf8';
      }
code_tokens: public function isConnectionUTF8 ( ) { $ charsetInfo = $ this -> fetchAll ( 'SHOW VARIABLES LIKE ?' , array ( 'character_set_connection' ) ) ; if ( empty ( $ charsetInfo ) ) { return false ; } $ charset = $ charsetInfo [ 0 ] [ 'Value' ] ; return $ charset === 'utf8' ; }
docstring: Is the connection character set equal to utf8?
  
  @return bool
docstring_tokens: Is the connection character set equal to utf8?