Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8586 closed defect (bug) (wontfix)

class-phpmailer.php $CharSet should be UTF-8

Reported by: gamerz's profile GamerZ Owned by: nbachiyski's profile nbachiyski
Milestone: Priority: normal
Severity: normal Version:
Component: I18N Keywords: UTF-8, phpmailer
Focuses: Cc:


When PHPMailer was updated to 2.0.2 -, 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:
var $CharSet = "UTF-8";

Change History (3)

#1 @GamerZ
16 years ago

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';

#2 @nbachiyski
16 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

We always set the correct charset in wp_mail():

Since we don't have other patches to phpmailer, we should stay as close to the upstream version as possible.

#3 @johnbillion
16 years ago

  • Milestone 2.7.1 deleted
Note: See TracTickets for help on using tickets.