我的站点是UTF-8编码.
发送信息,回复的提示是:
您的消息(我又测试一下)成功发布到帐号(淇婁篃)的迷你博客
自己动手改了一下 msn.php 文件~~~
加了一句 $username = mb_convert_encoding($username, "gbk", "utf-8");
-
- if (1 === saveInfo($from, '<b>(MSN)</b>:' . $msg, 'msn')) {
- $username = mb_convert_encoding($username, "gbk", "utf-8");
- $return = "您的消息(".mb_convert_encoding($msg, "gbk", "utf-8").")成功发布到帐号(".$username.")的迷你博客";
- } else {
- $return = "您的消息(".mb_convert_encoding($msg, "gbk", "utf-8").")尝试发布到帐号(".$username.")的迷你博客失败";
- }
复制代码
您的消息(fffffffffffff)成功发布到帐号(俊也)的迷你博客
解决了~~~ |