original_string: protected function _encodeString($text, $charset)
      {
          if ($this->_appCharset === $charset) {
              return $text;
          }
  
          return mb_convert_encoding($text, $charset, $this->_appCharset);
      }
code: protected function _encodeString($text, $charset)
      {
          if ($this->_appCharset === $charset) {
              return $text;
          }
  
          return mb_convert_encoding($text, $charset, $this->_appCharset);
      }
code_tokens: protected function _encodeString ( $ text , $ charset ) { if ( $ this -> _appCharset === $ charset ) { return $ text ; } return mb_convert_encoding ( $ text , $ charset , $ this -> _appCharset ) ; }
docstring: Translates a string for one charset to another if the App.encoding value
  differs and the mb_convert_encoding function exists
  
  @param string $text The text to be converted
  @param string $charset the target encoding
  @return string
docstring_tokens: Translates a string for one charset to another if the App . encoding value differs and the mb_convert_encoding function exists