ID:               45486
 Updated by:       [EMAIL PROTECTED]
 Reported By:      serovov at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         mbstring related
 Operating System: *
 PHP Version:      5.2.6
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2008-07-11 11:33:22] serovov at gmail dot com

Description:
------------
When executing mb_send_mail with headers 
<?
$headers = 'Content-Type: text/plain; charset="UTF-8"';
mb_send_mail('[EMAIL PROTECTED]', 'The Bug', 'Bla bla bla', $headers);
?>

Error: "Unsupported charset ""UTF-8"" - will be regarded as ascii"

But when i pass charset=UTF-8 its works Okey...


Reproduce code:
---------------
<?
$headers = 'Content-Type: text/plain; charset="UTF-8"';
mb_send_mail('[EMAIL PROTECTED]', 'The Bug', 'Bla bla bla', $headers);
?>

Expected result:
----------------
ignore quotes in Content-Type: text/plain; charset="UTF-8"

Actual result:
--------------
Error: "Unsupported charset ""UTF-8"" - will be regarded as ascii"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45486&edit=1

Reply via email to