Mercurial > hg > rc1
view vendor/pear/mail_mime/tests/test_Bug_20226.phpt @ 41:d2414df68d78
Updated by Alex S Grebenschikov (www.poralix.com)
to make it compatible with RoundCube 1.3.0
author | Charlie Root |
---|---|
date | Fri, 24 Jan 2025 14:20:15 -0500 |
parents | 1e000243b222 |
children |
line wrap: on
line source
--TEST-- Bug #20226 Mail_mimePart::encodeHeader() and ISO-2022-JP encoding --SKIPIF-- --FILE-- <?php include("Mail/mimePart.php"); $subject = base64_decode("GyRCJT8lJCVIJWsbKEI="); $mime = new Mail_mimePart(); echo $mime->encodeHeader('subject', $subject, 'ISO-2022-JP', 'base64'); ?> --EXPECT-- =?ISO-2022-JP?B?GyRCJT8lJCVIJWsbKEI=?=