| @@ 471-471 (lines=1) @@ | ||
| 468 | $buff = $this->requestFeedContents($args->rss_url); |
|
| 469 | ||
| 470 | $encoding = preg_match("/<\?xml.*encoding=\"(.+)\".*\?>/i", $buff, $matches); |
|
| 471 | if($encoding && stripos($matches[1], "UTF-8") === FALSE) $buff = Context::convertEncodingStr($buff); |
|
| 472 | ||
| 473 | $buff = preg_replace("/<\?xml.*\?>/i", "", $buff); |
|
| 474 | ||
| @@ 419-419 (lines=1) @@ | ||
| 416 | $buff = $this->requestFeedContents($args->rss_url); |
|
| 417 | ||
| 418 | $encoding = preg_match("/<\?xml.*encoding=\"(.+)\".*\?>/i", $buff, $matches); |
|
| 419 | if($encoding && stripos($matches[1], "UTF-8") === FALSE) $buff = Context::convertEncodingStr($buff); |
|
| 420 | ||
| 421 | $buff = preg_replace("/<\?xml.*\?>/i", "", $buff); |
|
| 422 | ||