Server IP : 162.0.209.157 / Your IP : 18.219.248.129 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/php71/usr/share/pear/test/Mail_Mime/tests/ |
Upload File : |
--TEST-- Bug #7561 Mail_mimePart::quotedPrintableEncode() misbehavior with mbstring overload --INI-- mbstring.language=Neutral mbstring.func_overload=6 mbstring.internal_encoding=UTF-8 mbstring.http_output=UTF-8 --SKIPIF-- <?php include "PEAR.php"; if (!extension_loaded('mbstring')){ if (!PEAR::loadExtension('mbstring')){ print('SKIP could not load mbstring module'); } } --FILE-- <?php include("Mail/mimePart.php"); // string is UTF-8 encoded $input = "Micha\xC3\xABl \xC3\x89ric St\xC3\xA9phane"; $rv = Mail_mimePart::quotedPrintableEncode($input, 76, "\n"); echo $rv, "\n"; --EXPECT-- Micha=C3=ABl =C3=89ric St=C3=A9phane