doukenqiong0588 2011-05-09 11:02
浏览 35
已采纳

我在ckeditor对话框中有一些奇怪的字符

Has anyone else had problems with ckeditor and characters like this? I've just downloaded a new version and I'm a little lost.

weird characaters

Thanks for your help. Richard

  • 写回答

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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?