#26749 [Opn->Bgs]: mb_decode_mimeheader removes wanted whitespace
| From: | iliaa@php.net | Date: | Wed, 31 Dec 2003 00:40:03 +0000 |
| Subject: | #26749 [Opn->Bgs]: mb_decode_mimeheader removes wanted whitespace | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52619@lists.php.net to get a copy of this message | ||
ID: 26749
Updated by: iliaa@php.net
Reported By: jalonso at art3mis dot com
-Status: Open
+Status: Bogus
Bug Type: mbstring related
Operating System: Linux
PHP Version: 5.0.0b3 (beta3)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
=?ISO-8859-1?Q?Le=D1e?= =?ISO-8859-1?Q?alegr=EDa?=
is the same as
=?ISO-8859-1?Q?Le=D1ealegr=EDa?=
Previous Comments:
------------------------------------------------------------------------
[2003-12-30 13:07:43] jalonso at art3mis dot com
Description:
------------
mb_decode_mimeheader($str) removes whitespace randomly after every
translated word
Reproduce code:
---------------
$str = '=?ISO-8859-1?Q?Le=D1e?= =?ISO-8859-1?Q?alegr=EDa?= en el
=?ISO-8859-1?Q?m=FAndo?= =?ISO-8859-1?Q?virt=FCal?=';
echo mb_decode_mimeheader($word);
Expected result:
----------------
output should be: "LeÑe alegría en el múndo virtüal"
Actual result:
--------------
output is: "LeÑealegría en el múndovirtüal"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26749&edit=1