diff options
author | Andrew Dolgov <[email protected]> | 2013-10-29 12:15:26 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-10-29 12:15:26 +0400 |
commit | 4ad04ee227dd7d704f417aaf9d6762f5cfdf4c1f (patch) | |
tree | 0aeb03dc1fe1d04cf372de8e8263416f893d292c /classes/feeds.php | |
parent | 88edaa9344dec86ab1e09dd2113b003c99d0d048 (diff) |
report all libxml errors in updater debug output
force utf8 encoding if devforceupdate is on
parser: try to convert non-unicode feeds with specified encoding to utf8
before trying to remove dangling utf8 characters in case of utf8-related
libxml errors because doing so produces garbage content
Diffstat (limited to 'classes/feeds.php')
-rw-r--r-- | classes/feeds.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 7f5fd10af..2c17a2257 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -148,7 +148,7 @@ class Feeds extends Handler_Protected { $override_order = false, $include_children = false) { if (isset($_REQUEST["DevForceUpdate"])) - header("Content-Type: text/plain"); + header("Content-Type: text/plain; charset=utf-8"); $disable_cache = false; |