diff options
author | Andrew Dolgov <[email protected]> | 2013-05-17 20:09:43 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-17 20:09:43 +0400 |
commit | d1f3fa9791a48de4991e8eae9e9939afd0316be3 (patch) | |
tree | 88b0f6caf070c968c2a16ab447e697ca2e3ef655 /include/rssfuncs.php | |
parent | 175dd0794e132180406d008fbb510c4bb53da779 (diff) |
try to force-convert feed data to utf8
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 612c914c0..e7c9f57dd 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -291,7 +291,7 @@ _debug("fetch done.", $debug_enabled); - if ($feed_data) { + /* if ($feed_data) { $error = verify_feed_xml($feed_data); if ($error) { @@ -307,7 +307,7 @@ if ($error) $feed_data = ''; } } - } + } */ } if (!$feed_data) { @@ -1349,14 +1349,14 @@ mb_strtolower(strip_tags($title), 'utf-8')); } - function verify_feed_xml($feed_data) { + /* function verify_feed_xml($feed_data) { libxml_use_internal_errors(true); $doc = new DOMDocument(); $doc->loadXML($feed_data); $error = libxml_get_last_error(); libxml_clear_errors(); return $error; - } + } */ function housekeeping_common($debug) { expire_cached_files($debug); |