diff --git a/Embed/Url.php b/Embed/Url.php index 79d8f234..101b7c40 100644 --- a/Embed/Url.php +++ b/Embed/Url.php @@ -69,7 +69,7 @@ private function resolve () { $charset = substr(strtoupper(strstr($charset, '=')), 1); if (!empty($charset) && ($charset !== 'UTF-8')) { - @mb_convert_encoding($content, 'UTF-8', $charset); + $content = @mb_convert_encoding($content, 'UTF-8', $charset); } } else if (strpos($this->getResult('content_type'), '/') !== false) { $this->result['mime_type'] = $this->getResult('content_type');