Summary | address book using incorrect charset |
Queue | Horde Groupware Webmail Edition |
Queue Version | 1.2.7 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | szabo.david (at) gyumolcstarhely (dot) hu |
Created | 11/10/2010 (5350 days ago) |
Due | |
Updated | 11/10/2010 (5350 days ago) |
Assigned | |
Resolved | 11/10/2010 (5350 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
http://www.horde.org/mail/ contains a list of all available mailing lists.
http://www.horde.org/mail/ contains a list of all available mailing lists.
Where can I set the charset?
horde/config/conf.php contains: "$conf['sql']['charset'] = 'utf-8';"
-> but doesn't affect turba charset using
horde/turba/config/conf.php doesn't contains anything like this.
that this matches both the connection charset and the database/table
charset of your server.
State ⇒ Not A Bug
this matches both the connection charset and the database/table
charset of your server.
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ address book using incorrect charset
Type ⇒ Bug
State ⇒ Unconfirmed
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.