From: avl Date: Wed, 11 Feb 2009 12:30:19 +0000 (+0200) Subject: utf-8 default for mail X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=8a90978d4bc0f6a7e640538151dfc1628b9dcbd8;p=ipf-mail.git utf-8 default for mail --- diff --git a/ipf/mail.php b/ipf/mail.php index fe0a0f2..1887d9d 100644 --- a/ipf/mail.php +++ b/ipf/mail.php @@ -21,7 +21,7 @@ class IPF_Mail extends IPF_Mime_Message self::$_defaultTransport = $transport; } - public function __construct($charset='iso-8859-1') + public function __construct($charset='utf-8') { $this->_charset = $charset; } @@ -272,7 +272,7 @@ class IPF_Mail extends IPF_Mime_Message { return $this->_subject; } - + public function setDate($date = null) { if ($this->_date === null) {