diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 16f96bb8c6..64a719904d 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -2595,7 +2595,7 @@ class mail_ui else { html::safe_content_header($message, $subject.".eml", $mime='text/html', $size=0, true, false); - print '
'. htmlspecialchars($message, ENT_NOQUOTES, 'utf-8') .'
'; + print '
'. htmlspecialchars($message, ENT_NOQUOTES|ENT_SUBSTITUTE, 'utf-8') .'
'; } }