//将代码加上UTF-8参数,代码就变成了: <?php echo mb_strimwidth($post->post_content, 0, 250,"...",'utf-8'); ?>
问题就解决了。