开发者

fckeditor characters encoding issue

am using fckeditor inside codeigniter framework when i retrive data from data base it show an unreconized characters instead of special characters (french charachters like é è ç ..) ? in data base data is converted to html entities, and i can show it without problem on the front pages, but in the bac开发者_如何学Ckend i have a probleme with the editor!! thanks


If you're using htmlentities then use html_entity_decode($string); before you print it on the textarea.

More info: http://www.php.net/manual/en/function.html-entity-decode.php


I suggest using tinymce editor because it is lightweight and provides much more options as compared to fckeditor.

http://tinymce.moxiecode.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜