1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-31 02:57:11 +00:00

magpie: charset instantiation fix

This commit is contained in:
Andrew Dolgov
2007-08-22 08:47:14 +01:00
parent 51e456d6d6
commit 69508313e6

View File

@@ -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) {