Support jOOmla! Autoit!
 
让代码高亮内支持中文显示 输出PDF 打印 E-mail
Author Author: Autoit | Date Date:2006-05-13 | View Count View: 8519 | Digg Count Digg: 53

代码里不免要加点中文,而默认是以iso-8859形式出现,所以在代码高亮里的中文就变乱码了,解决方法:webroot/mambots/content/geshigeshi.php 里 147行

 var $encoding = '';       // The encoding to use for htmlentities() calls  

改写成

var $encoding = 'utf-8';       // The encoding to use for htmlentities() calls  
就可以了!

Permanent URL: http://www.autoit.cn/index.php/content/view/23/25.html

Shares: Google书签 Yahoo书签 雅虎收藏夹 365Key网摘 新浪ViVi 百度收藏 天极网摘 diglog 和讯网摘 POCO网摘 YouNote网摘 博拉网 天下图摘 spurl blogmarks BlinkList reddit digg Del.icio.us   |  Tags: 代码高亮  geshi  

 
安装jd-wik电子书组件发生UTF-8错误的修正   一些非模块只在首页上显示的方法