original_string: public function getCharset()
      {
          return $this->dom->encoding
              ? $this->dom->encoding
              : ($this->_xmlencoding ? 'UTF-8' : $this->_origCharset);
      }
code: public function getCharset()
      {
          return $this->dom->encoding
              ? $this->dom->encoding
              : ($this->_xmlencoding ? 'UTF-8' : $this->_origCharset);
      }
code_tokens: public function getCharset ( ) { return $ this -> dom -> encoding ? $ this -> dom -> encoding : ( $ this -> _xmlencoding ? 'UTF-8' : $ this -> _origCharset ) ; }
docstring: Get the charset of the DOM data.
  
  @since 2.1.0
  
  @return string  Charset of DOM data.
docstring_tokens: Get the charset of the DOM data .