Skip to content

Commit c65a8ed

Browse files
committed
Merge branch 'master' of https://github.com/PHPMailer/PHPMailer
2 parents 90aed0b + f8f90ae commit c65a8ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPMailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2122,7 +2122,7 @@ public function wrapText($message, $length, $qp_mode = false)
21222122
}
21232123
// If utf-8 encoding is used, we will need to make sure we don't
21242124
// split multibyte characters when we wrap
2125-
$is_utf8 = 'utf-8' == strtolower($this->CharSet);
2125+
$is_utf8 = static::CHARSET_UTF8 === strtolower($this->CharSet);
21262126
$lelen = strlen(static::$LE);
21272127
$crlflen = strlen(static::$LE);
21282128

0 commit comments

Comments
 (0)