From e01687752b51d2f7a014b79ee0b5c566321db430 Mon Sep 17 00:00:00 2001 From: ednt Date: Tue, 7 May 2019 19:29:50 +0200 Subject: [PATCH] convert local html characters like Ü (#4069) Foreign language html emails were sent as received. Now all html entities should be converted to there corresponding UTF8 characters. --- app/fax/fax_emails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fax/fax_emails.php b/app/fax/fax_emails.php index c49b30270b..0a1967cf60 100644 --- a/app/fax/fax_emails.php +++ b/app/fax/fax_emails.php @@ -225,7 +225,7 @@ if (sizeof($result) != 0) { if ($fax_message != '') { $fax_message = strip_tags($fax_message); - $fax_message = str_replace(" ", "\r\n", $fax_message); + $fax_message = html_entity_decode($fax_message); $fax_message = str_replace("\r\n\r\n", "\r\n", $fax_message); }