Mercurial > hg > rc1
annotate vendor/pear/mail_mime/tests/test_Bug_20226.phpt @ 16:165944ca08e7
not using these after all
author | Charlie Root |
---|---|
date | Sat, 13 Jan 2018 09:45:02 -0500 |
parents | 1e000243b222 |
children |
rev | line source |
---|---|
0 | 1 --TEST-- |
2 Bug #20226 Mail_mimePart::encodeHeader() and ISO-2022-JP encoding | |
3 --SKIPIF-- | |
4 --FILE-- | |
5 <?php | |
6 include("Mail/mimePart.php"); | |
7 | |
8 $subject = base64_decode("GyRCJT8lJCVIJWsbKEI="); | |
9 $mime = new Mail_mimePart(); | |
10 | |
11 echo $mime->encodeHeader('subject', $subject, 'ISO-2022-JP', 'base64'); | |
12 ?> | |
13 --EXPECT-- | |
14 =?ISO-2022-JP?B?GyRCJT8lJCVIJWsbKEI=?= |