1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-09 10:29:15 +00:00

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
This commit is contained in:
Andrew Dolgov
2013-10-29 12:15:26 +04:00
parent 88edaa9344
commit 4ad04ee227
3 changed files with 27 additions and 12 deletions

View File

@@ -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;