[wicked] charset problem in wicked

David Chang david at tmv.gov.tw
Thu May 5 02:43:49 PDT 2005


Hi all:
Chinese seems not work in wicked,even used unicode backend.

I used create_database.sql to create a unicode charset database in mysql server
for wicked use.
#more create_database.sql
CREATE DATABASE `wiki3` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
#mysql wiki3<wicked.sql

And here are my wicked's conf.php:
.
.
$conf['wicked']['diff_format'] = 'unified';
$conf['wicked']['require_change_log'] = false;
$conf['menu']['pages'] = array('WikiHome', 'HowToUseWiki', 'RecentChanges',
'TitleSearch', 'AllPages');
$conf['menu']['apps'] = array();
$conf['storage']['driver'] = 'sql';
$conf['storage']['params']['persistent'] = true;
$conf['storage']['params']['hostspec'] = 'localhost';
$conf['storage']['params']['username'] = 'user';
$conf['storage']['params']['password'] = 'password';
$conf['storage']['params']['port'] = 3306;
$conf['storage']['params']['protocol'] = 'tcp';
$conf['storage']['params']['database'] = 'wiki3';
$conf['storage']['params']['charset'] = 'utf-8';
$conf['storage']['params']['phptype'] = 'mysql';
$conf['storage']['params']['table'] = 'wicked_pages';
$conf['storage']['params']['historytable'] = 'wicked_history';
$conf['storage']['params']['attachmenttable'] = 'wicked_attachments';
$conf['storage']['params']['attachmenthistorytable'] =
'wicked_attachment_history';
$conf['storage']['params']['driverconfig'] = 'custom';

David Chang




More information about the wicked mailing list