"Fixes #2298, Mail subject is not influenced by charset-setting"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6109 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-12-03 00:16:27 +00:00
parent 3030428eab
commit aa86d05b96

View file

@ -572,7 +572,7 @@ class EmailComponent extends Object{
function __encode($subject) {
$subject = $this->__strip($subject);
if (low($this->charset) !== 'utf-8') {
if (low($this->charset) !== 'iso-8859-15') {
$start = "=?" . $this->charset . "?B?";
$end = "?=";
$spacer = $end . "\n " . $start;