Bug #55314 [Opn->Fbk]: wrong mb_decode_mimeheader result

From: Date: Fri, 29 Jul 2011 07:55:41 +0000
Subject: Bug #55314 [Opn->Fbk]: wrong mb_decode_mimeheader result
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-162261@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55314&edit=1 ID: 55314 Updated by: laruence@php.net Reported by: donglijun at msn dot com Summary: wrong mb_decode_mimeheader result -Status: Open +Status: Feedback Type: Bug Package: mbstring related Operating System: linux PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: hmm, did you get "'=?UTF-8?B?cHl0aG9uILLiytTTyrz+?='" by mb_encode_mimeheader, if not plz check the original text before encoding. after you double check it, if you still believe this is a bug of PHP, plz supply the encoding script, then change the bug status from Feedback to Open again. Previous Comments: ------------------------------------------------------------------------ [2011-07-29 07:28:54] donglijun at msn dot com Description: ------------ Using mb_decode_mimeheader to decode a mime string, but got a wrong result Test script: --------------- <?php mb_internal_encoding('UTF-8'); var_dump(mb_decode_mimeheader('=?UTF-8?B?cHl0aG9uILLiytTTyrz+?=')); Expected result: ---------------- string(15) "python 测试邮件" Actual result: -------------- string(9) "python 始" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55314&edit=1

« previous php.bugs (#162261) next »