Lines Matching refs:enc
2373 * @param string $enc encoding style. supported values: gzip, deflate, or both
2376 function setEncoding($enc='gzip, deflate') { argument
2379 $this->outgoing_headers['Accept-Encoding'] = $enc;
2388 $this->encoding = $enc;
3340 $enc = str_replace('"','',substr(strstr($this->headers["content-type"],'='),1));
3341 if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){
3342 $this->xml_encoding = strtoupper($enc);
3367 $enc = substr(strstr($v, '='), 1);
3368 $enc = str_replace('"', '', $enc);
3369 $enc = str_replace('\\', '', $enc);
3370 if (eregi('^(ISO-8859-1|US-ASCII|UTF-8)$', $enc)) {
3371 $this->xml_encoding = strtoupper($enc);
3401 $enc = substr(strstr($v, '='), 1);
3402 $enc = str_replace('"', '', $enc);
3403 $enc = str_replace('\\', '', $enc);
3404 if (eregi('^(ISO-8859-1|US-ASCII|UTF-8)$', $enc)) {
3405 $this->xml_encoding = strtoupper($enc);
3819 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
3820 $this->debug('Got response encoding: ' . $enc);
3821 if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){
3822 $this->xml_encoding = strtoupper($enc);
6825 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
6826 $this->debug('Got response encoding: ' . $enc);
6827 if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){
6828 $this->xml_encoding = strtoupper($enc);
6925 * @param string $enc
6928 function setHTTPEncoding($enc='gzip, deflate'){ argument
6929 $this->http_encoding = $enc;