Lines Matching refs:encoding
75 public $encoding;
83 public function parse(&$data, $encoding, $url = '')
100 if (strtoupper($encoding) === 'US-ASCII') {
101 $this->encoding = 'UTF-8';
103 $this->encoding = $encoding;
132 $data = '<?xml version="' . $declaration->version . '" encoding="' . $encoding . '" standalone="' . (($declaration->standalone) ? 'yes' : 'no') . '"?>' ."\n". $this->declare_html_entities() . $data;
151 $xml = xml_parser_create_ns($this->encoding, $this->separator);
300 $this->data['data'] .= ' ' . $name . '="' . htmlspecialchars($value, ENT_COMPAT, $this->encoding) . '"';
322 $this->data['data'] .= htmlspecialchars($cdata, ENT_QUOTES, $this->encoding);