From: Andrew Dolgov Date: Wed, 22 Aug 2007 07:47:14 +0000 (+0100) Subject: magpie: charset instantiation fix X-Git-Tag: 1.2.14.2~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=69508313e61ac72542558676c9c307fd71103c5a;p=tt-rss.git magpie: charset instantiation fix --- 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) {