magpie: charset instantiation fix
This commit is contained in:
parent
51e456d6d6
commit
69508313e6
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ function _fetch_remote_file ($url, $headers = "" ) {
|
||||||
Output: parsed RSS object (see rss_parse)
|
Output: parsed RSS object (see rss_parse)
|
||||||
\*=======================================================================*/
|
\*=======================================================================*/
|
||||||
function _response_to_rss ($resp) {
|
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 parsed successfully
|
||||||
if ( $rss and !$rss->ERROR) {
|
if ( $rss and !$rss->ERROR) {
|
||||||
|
|
Loading…
Reference in a new issue