您是否尝试过iconv_set_encoding?
这应该工作:
<?php iconv_set_encoding("internal_encoding", "UTF-8");$subject = "Testmail — Special Characters";$msg = "Hi there,nnthis isn’t something easy.nnI haven’t thought that it’s that complicated!";mail(utf8_depre($to), utf8_depre($subject), utf8_depre($msg), utf8_depre($from)."nContent-Type: text/plain; charset=UTF-8nContent-Transfer-Encoding: 8bitn");?>


