gbk格式的邮件内容在win7 或ie9 中出现乱码,但是outlook又不识别utf-8格式的内容~~<a href="mailto:?body=<?=urlencode(mb_convert_encoding("你好", "GBK", "UTF-8"))?>&subject=?=urlencode(mb_convert_encoding("你好", "GBK", "UTF-8"))?>">邮件</a> 怎么解决??
调试欢乐多
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<?php
$email1='[email protected]';
$email2='[email protected]';
$subject='你好!';
?>
<a href="mailto:<?php echo $email1;echo ';'.$email2.'?';echo"subject=$subject"?>">click me</a>
</html>
你试试这个,绝对没有乱码。