_personal header info is not properly decodedDescription:
------------
_personal header info is not decoded producing output like:
"My_name with_accent_=?ISO-8859-1?B?6SA=?="
when printing $msg->header[$mid]['from_personal'][$i]
Reproduce code:
---------------
place an accent or extended char in your personal name info of your email account, send a message and view it with:
IMAP.message_viewer.php
joan@... [2005-06-08 12:59:08]http://pear.php.net/bugs/4554
Mail_IMAPv2 Bug
Reported by joan@...
2005-06-08T11:59:08+00:00
PHP: 4.3.10 OS: Suse Package Version:
Description:
------------
_personal header info is not decoded producing output like:
"My_name with_accent_=?ISO-8859-1?B?6SA=?="
when printing $msg->header[$mid]['from_personal'][$i]
Reproduce code:
---------------
place an accent or extended char in your personal name info of your email account, send a message and view it with:
IMAP.message_viewer.php]]>Mail_IMAPv2 Bug
Reported by joan@...
2005-06-08T11:59:08+00:00
PHP: 4.3.10 OS: Suse Package Version:
Description:
------------
_personal header info is not decoded producing output like:
"My_name with_accent_=?ISO-8859-1?B?6SA=?="
when printing $msg->header[$mid]['from_personal'][$i]
Reproduce code:
---------------
place an accent or extended char in your personal name info of your email account, send a message and view it with:
IMAP.message_viewer.php]]>2005-06-08T11:59:08+00:00
richy [2005-07-12 08:51] http://pear.php.net/bugs/4554#1121158288
This has been fixed in the next release. Until I actually finish and upload that release, you can find the latest source here:
http://www.smilingsouls.net/common_include/Mail_IMAP/Mail/IMAP.phps]]>This has been fixed in the next release. Until I actually finish and upload that release, you can find the latest source here:
http://www.smilingsouls.net/common_include/Mail_IMAP/Mail/IMAP.phps]]>2005-07-12T08:51:28+00:00
richy [2005-06-09 10:42] http://pear.php.net/bugs/4554#1118313720
Thanks for the bug report. Can you send a test message to mail-imap (at) smilingsouls (dot) net that demonstrates the bug?
Please send the test message in it's original form, exactly as you see it. Don't send it as raw mime or as an attachment to another message. This lets me run debugging tools already in place on my server.
I can't promise that I'll be able to fix this anytime soon. In the meantime, you can probably use something like this to decode those headers:
$value = utf8_decode(imap_utf8($value));]]>Thanks for the bug report. Can you send a test message to mail-imap (at) smilingsouls (dot) net that demonstrates the bug?
Please send the test message in it's original form, exactly as you see it. Don't send it as raw mime or as an attachment to another message. This lets me run debugging tools already in place on my server.
I can't promise that I'll be able to fix this anytime soon. In the meantime, you can probably use something like this to decode those headers:
$value = utf8_decode(imap_utf8($value));]]>2005-06-09T10:42:00+00:00