From f180558041507bcc4f80e8f373ca3e6bd635edea Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Tue, 23 Oct 2018 19:32:36 +0200 Subject: Convert non UTF-8 content on link embeding --- Zotlabs/Module/Linkinfo.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Linkinfo.php b/Zotlabs/Module/Linkinfo.php index f0d62b5e0..534e5697b 100644 --- a/Zotlabs/Module/Linkinfo.php +++ b/Zotlabs/Module/Linkinfo.php @@ -228,8 +228,10 @@ class Linkinfo extends \Zotlabs\Web\Controller { $header = $result['header']; $body = $result['body']; - - $body = mb_convert_encoding($body, 'UTF-8', 'UTF-8'); + + $x = preg_match('/