|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-11 13:49 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 31 03:00:01 2025 UTC |
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"