Ticket #8586 (closed defect (bug): wontfix)
class-phpmailer.php $CharSet should be UTF-8
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | UTF-8, phpmailer |
| Cc: |
Description
When PHPMailer was updated to 2.0.2 - http://trac.wordpress.org/changeset/8762/trunk/wp-includes/class-phpmailer.php, the charset has been changed to "iso-8859-1". It used to be "UTF-8" line 50 of /wp-includes/class-phpmailer.php
var $CharSet = 'iso-8859-1';
Should be: !php var $CharSet = "UTF-8"; }}}
Change History
comment:2
nbachiyski — 3 years ago
- Status changed from new to closed
- Resolution set to wontfix
We always set the correct charset in wp_mail(): http://trac.wordpress.org/browser/trunk/wp-includes/pluggable.php#L404
Since we don't have other patches to phpmailer, we should stay as close to the upstream version as possible.
Note: See
TracTickets for help on using
tickets.

Sorry for the mis-formatting.
line 50 of /wp-includes/class-phpmailer.php
var $CharSet = 'iso-8859-1';It should be
var $CharSet = 'UTF-8';