php pear mail UTF-8 encoding


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $headers = array(
  2. "Content-Type" => "text/plain; charset=\"UTF-8\"",
  3. "From" => "=?utf-8?B?".base64_encode($unicode_name)."?=" . " <[email protected]>",
  4. "Subject" => "my subject"
  5. );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.