From 169c4d9b2486e13b53263cce8ce8c520ddefc6be Mon Sep 17 00:00:00 2001 From: kevlarcade Date: Thu, 16 Mar 2017 15:48:10 +0100 Subject: [PATCH] =?UTF-8?q?=C3=A0jout=20du=20support=20utf8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kevlarcade --- mail/contact_me.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/contact_me.php b/mail/contact_me.php index f26c2dd..663a688 100644 --- a/mail/contact_me.php +++ b/mail/contact_me.php @@ -21,6 +21,6 @@ $email_body = "Vous avez recu un message depuis le formulaire du site.\n\n"."Voi $headers = "From: noreply@labolyon.fr\n"; $headers .= "Reply-To: $email_address"; $headers .= "Date: ".date("r"); -mail($to,$email_subject,$email_body,$headers); +mail($to,utf8_encode($email_subject),utf8_encode($email_body),$headers); return true; ?>