Summary | charset problem |
Queue | Wicked |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | Horde Developers (at) , jan (at) horde (dot) org |
Requester | david (at) tmv (dot) gov (dot) tw |
Created | 05/07/2005 (7365 days ago) |
Due | |
Updated | 10/01/2010 (5392 days ago) |
Assigned | 05/30/2005 (7342 days ago) |
Resolved | 05/30/2005 (7342 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
New Attachment: sql.php.patch
David
State ⇒ Resolved
released) Text_Wiki version greater than 1.0.0. There is currently no
way to have non-ascii page names though, because Text_Wiki requires a
regular expression that expresses a wiki word to detect and correctly
link them. And this is not possible in languages that don't have a
concept of upper case and lower case at the moment.
State ⇒ Assigned
looking into it.
State ⇒ Stalled
State ⇒ Feedback
The problem is that Text_Wiki that we use for the wiki markup parsing
and rendering doesn't support multibyte at all and messes up some
things like wiki links.
Assigned to
Assigned to Jan Schneider
Thanks for your reply.
Chinese string couldn't work both for page name & page text.
And i am curious why wiki only support unicode backend for multi-byte
cahrset ?
State ⇒ Feedback
in the page name? The page text? Both? What *exactly* is the problem?
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ charset problem
Queue ⇒ Wicked
State ⇒ Unconfirmed
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';
And here is horde/config/conf.php
.
.
.
$conf['sql']['database'] = 'horde3';
$conf['sql']['charset'] = 'big-5';
$conf['sql']['phptype'] = 'mysql';
David Chang