Skip to content
Permalink
Browse files

try to fix enconding issues

  • Loading branch information...
oscarotero committed Jul 20, 2019
1 parent dc8125e commit b219b1384642d12ebd20dc4b902aca561415c3da
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/Utils.php
@@ -296,10 +296,6 @@ public static function parse($html)
*/
private static function normalize($string)
{
if (stripos($string, '<meta charset="utf') === false) {
return $string;
}
$detected = mb_detect_encoding($string, implode(',', array_keys(self::ENCODINGS)), true);
if ($detected && isset(self::ENCODINGS[$detected])) {

0 comments on commit b219b13

Please sign in to comment.
You can’t perform that action at this time.