From a307bf472e54f245d3202b500f3dd60e091f0fd8 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Wed, 7 Feb 2018 17:01:27 +0100 Subject: [PATCH] membersince: fix utf-8 encoding issues --- membersince/membersince.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/membersince/membersince.php b/membersince/membersince.php index 8c42c1359..01de8fd42 100644 --- a/membersince/membersince.php +++ b/membersince/membersince.php @@ -26,7 +26,7 @@ function membersince_display(&$a, &$b) if (current_theme() == 'frio') { // Works in Frio. $doc = new DOMDocument(); - $doc->loadHTML($b); + $doc->loadHTML(mb_convert_encoding($b, 'HTML-ENTITIES', 'UTF-8')); $elm = $doc->getElementById('aprofile-fullname');