From 69508313e61ac72542558676c9c307fd71103c5a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 22 Aug 2007 08:47:14 +0100 Subject: [PATCH] magpie: charset instantiation fix --- magpierss/rss_fetch.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magpierss/rss_fetch.inc b/magpierss/rss_fetch.inc index 126dc630..695d3b69 100644 --- a/magpierss/rss_fetch.inc +++ b/magpierss/rss_fetch.inc @@ -286,7 +286,7 @@ function _fetch_remote_file ($url, $headers = "" ) { Output: parsed RSS object (see rss_parse) \*=======================================================================*/ function _response_to_rss ($resp) { - $rss = new MagpieRSS( $resp->results, MAGPIE_OUTPUT_ENCODING, "UTF-8", false); + $rss = new MagpieRSS( $resp->results, MAGPIE_OUTPUT_ENCODING, MAGPIE_INPUT_ENCODING, MAGPIE_DETECT_ENCODING ); // if RSS parsed successfully if ( $rss and !$rss->ERROR) { -- 2.39.5