[Tickets #9379] Re: address book using incorrect charset
bugs at horde.org
bugs at horde.org
Wed Nov 10 13:21:51 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9379
------------------------------------------------------------------------------
Ticket | 9379
Updated By | sysadmin at gyumolcstarhely.hu
Summary | address book using incorrect charset
Queue | Horde Groupware Webmail Edition
Version | 1.2.7
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
szabo.david at gyumolcstarhely.hu (2010-11-10 08:19) wrote:
Helo,
I've noticed that altough the turba mysql fields are utf8, the php
code doesn't query it with this charset. Now I'm using this workaround
and it works:
[/usr/local/cpanel/base/horde/turba/lib/Driver]# diff -u sql.php.old sql.php
--- sql.php.old 2010-11-10 13:54:21.000000000 +0100
+++ sql.php 2010-11-10 13:58:57.000000000 +0100
@@ -85,6 +85,8 @@
$this->_db =& $this->_write_db;
}
+ $this->_db->query("SET NAMES utf8");
+
return true;
}
As I see there is no configuration for set charset for turba using.
Thanks.
More information about the bugs
mailing list