全球主机交流论坛
标题:
大家帮我看下这个乱码
[打印本页]
作者:
youland
时间:
2010-6-12 16:04
提示:
作者被禁止或删除 内容自动屏蔽
作者:
gdtv
时间:
2010-6-12 16:28
据说mb_strimwidth会有截取半个汉字的问题
换成mb_substr或者mb_strcut试试
作者:
gdtv
时间:
2010-6-12 16:30
<div class="pcontent">
<?php echo mb_substr(strip_tags(apply_filters('the_content', $post->post_content)), 0, 290,"utf-8"); ?>...
</div>
复制代码
作者:
Showfom
时间:
2010-6-12 16:43
正常
作者:
youland
时间:
2010-6-12 16:44
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 全球主机交流论坛 (https://sunk.eu.org/)
Powered by Discuz! X3.4