1条回答 默认 最新
- dousi7919 2011-05-09 11:08关注
Have you set your code for charset utf-8 ? If not or if you are not sure then this could be the problem with the character encoding.
Try add this before sending any html:
<?php header('Content-type: text/html; charset=utf-8'); ?>
And this one to the html
<head></head>
:<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hope it works out for you.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报