Bug #7083 [Opn->Fbk]: Mail_mimeDecode: Q-printable from TB 1.5 fails to decode

From: Date: Thu, 02 Sep 2010 12:52:26 +0000
Subject: Bug #7083 [Opn->Fbk]: Mail_mimeDecode: Q-printable from TB 1.5 fails to decode
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-4740@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=7083&edit=1 ID: 7083 Updated by: alan@akbkhome.com Reported By: joho at webbplatsen dot se Summary: Mail_mimeDecode: Q-printable from TB 1.5 fails to decode -Status: Open +Status: Feedback Type: Bug Package: Mail_mimeDecode Operating System: Linux Package Version: 1.3.1 PHP Version: Irrelevant Roadmap Versions: New Comment: -Status: Open +Status: Feedback SVN version appears to work in Previous Comments: ------------------------------------------------------------------------ [2006-04-27 10:35:29] cipri Moved to Mail_MimeDecode subpackage. ------------------------------------------------------------------------ [2006-04-27 10:35:21] cipri Moved to Mail_MimeDecode subpackage. ------------------------------------------------------------------------ [2006-03-09 16:43:15] joho at webbplatsen dot se mime.php: 1.39 mimeDecode.php: 1.46 ------------------------------------------------------------------------ [2006-03-09 16:40:45] joho at webbplatsen dot se Description: ------------ As far as I can see, there's nothing unclear about the message header nor the message's contents or encoding. Or is it barfing because there's no 7bit/8bit indicator? Test script: --------------- This is the code: $input = ''; $fp = fopen("php://stdin", "r"); while (!feof ($fp)) { $input .= fgets ($fp, 1024); } $xo = new Mail_mimeDecode ($input); $xa = array (); $xa ['include_bodies'] = TRUE; $xa ['decode_bodies'] = TRUE; $xa ['decode_headers'] = TRUE; $xp = $xo->decode ($xa); This is the mail: Date: Thu, 09 Mar 2006 22:18:13 +0100 From: Joaquim Homrighausen <joho@foo.doo> User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: joho@foo.doo Subject: Detta =?ISO-8859-1?Q?=E4r_en_test=2C_som_vi_skall_te?= =?ISO-8859-1?Q?sta?= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Och h=E4r =E4r mailet :-) Expected result: ---------------- Subject: Detta är en test, som vi skall testa Och här är mailet :-) Actual result: -------------- Subject: Detta ,r en test, som vi skall testa Och h,r ,r mailet :-) ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=7083&edit=1

« previous php.pear.bugs (#4740) next »