From 80211ec5d02160072de8331b412b0eac2a469642 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 16 Apr 2019 15:59:51 -0700 Subject: [PATCH] server: when send HTML email, use charset=UTF-8 --- html/inc/email.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/inc/email.inc b/html/inc/email.inc index 84675155a4..90e446b8fb 100644 --- a/html/inc/email.inc +++ b/html/inc/email.inc @@ -71,7 +71,7 @@ function send_email($user, $subject, $body, $body_html=null, $email_addr=null) { $body = "\n"; $body = $body_html; $body .= "\n\n"; - $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; + $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n"; } return mail($email_addr, $subject, $body, $headers); }