TWIKI 安装要点

TWIKI

install rsc

yum install rcs

根据官方说明安装完成:

http://www.twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide

中文环境:

$TWiki::cfg{Site}{Locale} = ‘zh_CN.UTF-8′;
$TWiki::cfg{Site}{CharSet} = ‘UTF-8′;

中文内容错误:

TWiki detected an internal error – please check your TWiki logs and webserver logs for more information.

Cannot decode string with wide characters

解决方法:

Google: Cannot decode string with wide characters site:twiki.org

根据: http://twiki.org/cgi-bin/view/Plugins/TinyMCEPluginDev

Edit twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML.pm:
116行:

注解掉这行 $text = Encode::decode_utf8($text);
改为:
if (utf8::valid($text)) {
utf8::decode($text);
}

搞定.

此条目发表在Program分类目录,贴了标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>