From d51941992716fb230553fe44f853ae3eb5cc5b17 Mon Sep 17 00:00:00 2001 From: witersen <1801168257@qq.com> Date: Wed, 20 Oct 2021 08:15:11 +0800 Subject: [PATCH] fix encoding error --- 02.后端开发/extension/PHPMailer/src/PHPMailer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/02.后端开发/extension/PHPMailer/src/PHPMailer.php b/02.后端开发/extension/PHPMailer/src/PHPMailer.php index 6592298..f81c252 100644 --- a/02.后端开发/extension/PHPMailer/src/PHPMailer.php +++ b/02.后端开发/extension/PHPMailer/src/PHPMailer.php @@ -32,7 +32,8 @@ namespace PHPMailer\PHPMailer; class PHPMailer { const CHARSET_ASCII = 'us-ascii'; - const CHARSET_ISO88591 = 'iso-8859-1'; + // const CHARSET_ISO88591 = 'iso-8859-1'; + const CHARSET_ISO88591 = 'UTF-8'; const CHARSET_UTF8 = 'utf-8'; const CONTENT_TYPE_PLAINTEXT = 'text/plain';