[horde] Horde_Form problem (head)
David Chang
david at thbuo.gov.tw
Thu Mar 13 23:34:14 PST 2003
Hi all:
Sorry for this message again.Cause i have reported this problem for a long time
but no one respone it.
I have found in some situations horde's form do not save Chinese string to
Mysql backend with correct format.
For example :
1.In Turba,When i add an new contact with Chinese in Turba.Entry was saved but
Chinese-string format lost.
Ref screenshot http://www.thbuo.gov.tw/~txg16/tmp/form_1.jpg
http://www.thbuo.gov.tw/~txg16/tmp/form_2.jpg
2.The same problem also happen in Ingo's new rule:
http://www.thbuo.gov.tw/~txg16/tmp/form_ingo_1.jpg
http://www.thbuo.gov.tw/~txg16/tmp/form_ingo_2.jpg
3. And change preference setting in IMP
http://www.thbuo.gov.tw/~txg16/tmp/prefer_1.jpg
http://www.thbuo.gov.tw/~txg16/tmp/prefer_2.jpg
ENV:
=========================================================
I use mysql backend as horde storage,here are my setting:
horde/config/conf.php
$conf['sql']['charset'] = 'Big-5';
horde/config/nls.php
$nls['conf']['enable_utf'] = false;
$nls['defaults']['language'] = 'zh_TW';
turba/config/source.php
$cfgSources['localsql'] = array(
'title' => _("My Addressbook"),
'type' => 'sql',
'params' => array_merge($conf['sql'], array('table' => 'turba_objects')),
You can test my horde here :
http://210.241.49.70/horde.beta/test.php
David Chang
More information about the horde
mailing list