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.
This commit is contained in:
ednt 2019-05-07 19:29:50 +02:00 committed by FusionPBX
parent ca1b074bee
commit e01687752b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}