diff --git a/examples/contentsutf8.html b/examples/contentsutf8.html index 219fec2d..f94260e0 100644 --- a/examples/contentsutf8.html +++ b/examples/contentsutf8.html @@ -10,7 +10,7 @@
-This example uses HTML with the UTF-8 unicode charset.
+This example uses HTML with the UTF-8 Unicode charset.
Chinese text: 郵件內容為空
Russian text: Пустое тело сообщения
Armenian text: Հաղորդագրությունը դատարկ է
diff --git a/src/PHPMailer.php b/src/PHPMailer.php index 0a31f476..18108994 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -1588,10 +1588,10 @@ class PHPMailer $this->error_count = 0; //Reset errors $this->mailHeader = ''; - //The code below tries to support full use of unicode, + //The code below tries to support full use of Unicode, //while remaining compatible with legacy SMTP servers to //the greatest degree possible: If the message uses - //unicode in the localparts of any addresses, it is sent + //Unicode in the localparts of any addresses, it is sent //using SMTPUTF8. If not, it it sent using //pynycode-encoded domains and plain SMTP. if ( @@ -4309,7 +4309,7 @@ class PHPMailer } /** - * Check whether the supplied address uses unicode in the localpart. + * Check whether the supplied address uses Unicode in the localpart. * * @return bool */ @@ -4319,7 +4319,7 @@ class PHPMailer } /** - * Check whether any of the supplied addresses use unicode in the + * Check whether any of the supplied addresses use Unicode in the * localpart. * * @return bool diff --git a/test/PHPMailer/PHPMailerTest.php b/test/PHPMailer/PHPMailerTest.php index e0c057bc..02a3d606 100644 --- a/test/PHPMailer/PHPMailerTest.php +++ b/test/PHPMailer/PHPMailerTest.php @@ -1225,7 +1225,7 @@ EOT; self::assertTrue($this->Mail->UseSMTPUTF8); //If using SMTPUTF8, then the To header should contain - //unicode@unicode, for better rendering by clients like Mac + //Unicode@Unicode, for better rendering by clients like Mac //Outlook. $this->Mail->addAddress('spın̈altap@spın̈altap.invalid', ''); $this->Mail->preSend(); diff --git a/test/PHPMailer/ValidateAddressTest.php b/test/PHPMailer/ValidateAddressTest.php index adfc7763..4155b5a6 100644 --- a/test/PHPMailer/ValidateAddressTest.php +++ b/test/PHPMailer/ValidateAddressTest.php @@ -438,7 +438,7 @@ final class ValidateAddressTest extends TestCase 'first.last@phplíst.com', ]; - return $this->arrayToNamedDataProvider($unicodeaddresses, 'Invalid unicode: '); + return $this->arrayToNamedDataProvider($unicodeaddresses, 'Invalid Unicode: '); } /**