diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php index f5794d790..b4ccdd335 100644 --- a/plugins/af_readability/init.php +++ b/plugins/af_readability/init.php @@ -123,7 +123,7 @@ class Af_Readability extends Plugin { if (!$tmpdoc->loadHTML($tmp)) return $article; - if ($tmpdoc->encoding != 'UTF-8') { + if (strtolower($tmpdoc->encoding) != 'utf-8') { $tmpxpath = new DOMXPath($tmpdoc); foreach ($tmpxpath->query("//meta") as $elem) {