Gregarius编辑feed时中文乱码的解决
May 2nd, 2008
Gregarius编辑feeds的时候,中文总是乱码(版本r1787),其实解决方法很简单的:
找到admin/channels.php这个文件,找到第900行,修改为:
//$title = htmlentities($title,ENT_QUOTES); $title = htmlspecialchars($title, ENT_QUOTES);
这个是feed标题乱码的修正,再向下翻到Description部分,大概在988行左右,修改为:
// Description //$descr = trim(htmlentities(strip_tags($descr), ENT_Q
......[Continue Read/阅读全文]