summaryrefslogtreecommitdiff
path: root/magpierss
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-22 08:47:14 +0100
committerAndrew Dolgov <[email protected]>2007-08-22 08:47:14 +0100
commit69508313e61ac72542558676c9c307fd71103c5a (patch)
treee06d99fd9372f91362cbd21c736e1ada46492e31 /magpierss
parent51e456d6d62e37374de7c7a2e0c9a92a3ee85652 (diff)
magpie: charset instantiation fix
Diffstat (limited to 'magpierss')
-rw-r--r--magpierss/rss_fetch.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/magpierss/rss_fetch.inc b/magpierss/rss_fetch.inc
index 126dc630a..695d3b69e 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) {