6.0.0-beta1
7/4/25

[#9379] address book using incorrect charset
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

History
11/10/2010 02:53:30 PM szabo (dot) david (at) gyumolcstarhely (dot) hu Comment #5 Reply to this comment
Ok, sorry.
Please use the mailing list to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
11/10/2010 02:43:14 PM Jan Schneider Comment #4 Reply to this comment
Please use the mailing list to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.
11/10/2010 02:03:47 PM szabo (dot) david (at) gyumolcstarhely (dot) hu Comment #3 Reply to this comment
Ok, thanks.

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.
Turba uses whatever charset you configured. You have to take care 
that this matches both the connection charset and the database/table 
charset of your server.
11/10/2010 01:47:59 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
Turba uses whatever charset you configured. You have to take care that 
this matches both the connection charset and the database/table 
charset of your server.
11/10/2010 01:19:10 PM szabo (dot) david (at) gyumolcstarhely (dot) hu Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ address book using incorrect charset
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries