From 18bbfb5f5b43ae3dc115ce87562a28b48c40087a Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 16 Jun 2017 11:46:35 +0000 Subject: [PATCH] mail: getDetail subject is now really converted to UTF-8 git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3781 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.php b/mail.php index 928fc6d..61cfa0b 100644 --- a/mail.php +++ b/mail.php @@ -1356,7 +1356,7 @@ class mail } $date = trim ($this->getDate ()); $dateTimestamp = $this->getDateTimestamp (); - $subject = $this->getHeaderValue ("Subject"); + $subject = $this->decodeHeaders ("Subject", $this->getHeader ("Subject")); return get_defined_vars(); }