|
让代码高亮内支持中文显示
|
|
|
|
Author: Autoit | Date:2006-05-13 | View: 8519 | 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
|