mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
"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:
parent
3030428eab
commit
aa86d05b96
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue