XWiki

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第14行: 第14行:
 
  xwiki.encoding=UTF-8 // in xwiki.cfg
 
  xwiki.encoding=UTF-8 // in xwiki.cfg
 
  <param-value>UTF-8</param-value> // in web.xml
 
  <param-value>UTF-8</param-value> // in web.xml
 +
hibernate.cfg.xml
 +
<property name="connection.useUnicode">true</property>
 +
<property name="connection.characterEncoding">UTF-8</property>
 
velocity.properties
 
velocity.properties
 
  input.encoding=UTF-8
 
  input.encoding=UTF-8
 
  output.encoding=UTF-8  
 
  output.encoding=UTF-8  
 
MySQL
 
MySQL
  default-character-set=utf8  
+
[client]
 +
  default-character-set=utf8
 +
[mysqld]
 +
default-character-set=utf8
 +
character-set-server = utf8
 +
collation-server = utf8_general_ci
 
more detail: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
 
more detail: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
  

2009年2月20日 (五) 21:11的版本

XWiki是一个强大的Java开源的Wiki引擎.

目录

功能

  • Wiki syntax (uses Radeox engine)
  • Content management (view/edit/preview/save)
  • Version Control
  • Attachments
  • Rights Management
  • Full-text Search

Start

Admin/admin

中文

need change encoding in web.xml and xwiki.cfg…

xwiki.encoding=UTF-8 // in xwiki.cfg
<param-value>UTF-8</param-value> // in web.xml

hibernate.cfg.xml

<property name="connection.useUnicode">true</property>
<property name="connection.characterEncoding">UTF-8</property>

velocity.properties

input.encoding=UTF-8
output.encoding=UTF-8 

MySQL

[client]
default-character-set=utf8
[mysqld]
default-character-set=utf8
character-set-server = utf8
collation-server = utf8_general_ci

more detail: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding

相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱