From: Moriyoshi Koizumi Date: Wed, 13 Nov 2002 12:00:47 +0000 (+0000) Subject: Added a test for mb_send_mail() to check if the function properly handles X-Git-Tag: php-4.3.0RC1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f2a1ce9d47d8c7e8f1181bc9c0dff69eb149835;p=php Added a test for mb_send_mail() to check if the function properly handles Traditional Chinese characters. --- diff --git a/ext/mbstring/tests/mb_send_mail06.phpt b/ext/mbstring/tests/mb_send_mail06.phpt new file mode 100644 index 0000000000..f14a15c9ab --- /dev/null +++ b/ext/mbstring/tests/mb_send_mail06.phpt @@ -0,0 +1,38 @@ +--TEST-- +mb_send_mail() test 6 (lang=Traditional Chinese) +--SKIPIF-- + +--INI-- +sendmail_path=cat +--FILE-- + +--EXPECTF-- +To: example@example.com +Subject: %s +Mime-Version: 1.0 +Content-Type: text/plain; charset=%s +Content-Transfer-Encoding: %s + +test +To: example@example.com +Subject: =?BIG5?B?tPrF5yBUcmFkaXRpb25hbCBDaGluZXNl?= +Mime-Version: 1.0 +Content-Type: text/plain; charset=BIG5 +Content-Transfer-Encoding: 8bit + +´úÅç